Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.622/4.622, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.692e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9268/1.163, allocations: 134.1 MB / 0.8088 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.163, allocations: 82.5 kB / 0.8089 GB, free: 12.55 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.0139/1.177, allocations: 3.207 MB / 0.812 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.177, allocations: 3.938 kB / 0.812 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.177, allocations: 0 / 0.812 GB, free: 12.07 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007842/1.178, allocations: 491.3 kB / 0.8125 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.178, allocations: 11.59 kB / 0.8125 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/1.178, allocations: 34.5 kB / 0.8125 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/1.178, allocations: 11.53 kB / 0.8125 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.178, allocations: 177.9 kB / 0.8127 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/1.178, allocations: 6.969 kB / 0.8127 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/1.178, allocations: 3.906 kB / 0.8127 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/1.179, allocations: 73.77 kB / 0.8128 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.179, allocations: 3.938 kB / 0.8128 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/1.179, allocations: 7.312 kB / 0.8128 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/1.179, allocations: 3.844 kB / 0.8128 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/1.179, allocations: 39.67 kB / 0.8128 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/1.179, allocations: 332 kB / 0.8131 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/1.18, allocations: 77.36 kB / 0.8132 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.141e-05/1.18, allocations: 34.3 kB / 0.8132 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/1.18, allocations: 0 / 0.8132 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/1.18, allocations: 94.11 kB / 0.8133 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.214e-06/1.18, allocations: 0 / 0.8133 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003725/1.18, allocations: 138.8 kB / 0.8135 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.181, allocations: 51.41 kB / 0.8135 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/1.181, allocations: 129.8 kB / 0.8136 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/1.181, allocations: 33.05 kB / 0.8137 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/1.181, allocations: 97.64 kB / 0.8138 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/1.181, allocations: 25.66 kB / 0.8138 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/1.181, allocations: 7.25 kB / 0.8138 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.377e-05/1.181, allocations: 316.6 kB / 0.8141 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/1.181, allocations: 25.31 kB / 0.8141 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/1.181, allocations: 65.62 kB / 0.8142 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.895e-05/1.181, allocations: 34.39 kB / 0.8142 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.181, allocations: 3.844 kB / 0.8142 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002737/1.182, allocations: 116.4 kB / 0.8143 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.182, allocations: 11.75 kB / 0.8143 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.182, allocations: 0 / 0.8143 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.182, allocations: 3.719 kB / 0.8143 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/1.182, allocations: 18.22 kB / 0.8144 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.182, allocations: 7.078 kB / 0.8144 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/1.182, allocations: 19.11 kB / 0.8144 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/1.182, allocations: 10.48 kB / 0.8144 GB, free: 10.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/1.182, allocations: 120 kB / 0.8145 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.748e-05/1.182, allocations: 15.03 kB / 0.8145 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/1.183, allocations: 146.7 kB / 0.8147 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.183, allocations: 2.25 kB / 0.8147 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.183, allocations: 0 / 0.8147 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/1.183, allocations: 0 / 0.8147 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/1.183, allocations: 439.5 kB / 0.8151 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/1.183, allocations: 3.844 kB / 0.8151 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/1.184, allocations: 14.12 kB / 0.8151 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.184, allocations: 0 / 0.8151 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/1.184, allocations: 6.469 kB / 0.8151 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.184, allocations: 0 / 0.8151 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.184, allocations: 7.891 kB / 0.8151 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/1.184, allocations: 239.6 kB / 0.8153 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/1.184, allocations: 85.02 kB / 0.8154 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/1.184, allocations: 3.812 kB / 0.8154 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/1.184, allocations: 16.36 kB / 0.8154 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/1.184, allocations: 13.25 kB / 0.8155 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/1.184, allocations: 3.781 kB / 0.8155 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.833e-05/1.184, allocations: 99.95 kB / 0.8156 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/1.184, allocations: 0 / 0.8156 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004973/1.185, allocations: 64.03 kB / 0.8156 GB, free: 9.359 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/1.186, allocations: 0.8295 MB / 0.8164 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002882/1.186, allocations: 85.81 kB / 0.8165 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.186, allocations: 3.844 kB / 0.8165 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/1.187, allocations: 40.47 kB / 0.8165 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/1.187, allocations: 17.05 kB / 0.8166 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/1.188, allocations: 198.1 kB / 0.8168 GB, free: 24.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/1.188, allocations: 0.7038 MB / 0.8174 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.577e-05/1.188, allocations: 12.11 kB / 0.8175 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.483e-05/1.188, allocations: 31.19 kB / 0.8175 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of SimCode: time 2.054e-06/1.188, allocations: 0 / 0.8175 GB, free: 23.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/1.214, allocations: 3.142 MB / 0.8206 GB, free: 23.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/1.215, allocations: 209.1 kB / 0.8207 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.745, allocations: 2.188 kB / 0.8208 GB, free: 23.21 MB / 0.6511 GB