Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.425/4.425, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.725e-05, allocations: 3.25 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2206, allocations: 98.72 MB / 0.6302 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/0.4564, allocations: 126.7 MB / 0.7539 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.4568, allocations: 87.89 kB / 0.754 GB, free: 7.164 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01552/0.4723, allocations: 3.157 MB / 0.7571 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4724, allocations: 4 kB / 0.7571 GB, free: 4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.4724, allocations: 0 / 0.7571 GB, free: 4 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.0009128/0.4733, allocations: 491.3 kB / 0.7576 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4734, allocations: 8.031 kB / 0.7576 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.4735, allocations: 42.56 kB / 0.7576 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.4735, allocations: 11.86 kB / 0.7576 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.4737, allocations: 178.9 kB / 0.7578 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.4738, allocations: 8 kB / 0.7578 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.4738, allocations: 7.938 kB / 0.7578 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.474, allocations: 69.66 kB / 0.7579 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4741, allocations: 0 / 0.7579 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4741, allocations: 8 kB / 0.7579 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4741, allocations: 0 / 0.7579 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.4743, allocations: 39.97 kB / 0.7579 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.4751, allocations: 340.6 kB / 0.7582 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.4754, allocations: 78.62 kB / 0.7583 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4755, allocations: 36.84 kB / 0.7584 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.4756, allocations: 4.156 kB / 0.7584 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.4758, allocations: 91.36 kB / 0.7584 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 5.751e-06/0.4759, allocations: 96 / 0.7584 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004278/0.4763, allocations: 137.5 kB / 0.7586 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4764, allocations: 51.41 kB / 0.7586 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4765, allocations: 117.3 kB / 0.7587 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.4766, allocations: 33.69 kB / 0.7588 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.4767, allocations: 96.05 kB / 0.7589 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.4767, allocations: 31.64 kB / 0.7589 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.4768, allocations: 0 / 0.7589 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.4769, allocations: 322.8 kB / 0.7592 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.745e-05/0.477, allocations: 27.98 kB / 0.7592 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.4771, allocations: 57.16 kB / 0.7593 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4773, allocations: 35.92 kB / 0.7593 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4773, allocations: 0 / 0.7593 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003289/0.4776, allocations: 117.5 kB / 0.7594 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.4777, allocations: 4 kB / 0.7594 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4777, allocations: 4 kB / 0.7594 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4777, allocations: 3.953 kB / 0.7594 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.4779, allocations: 31.86 kB / 0.7595 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.478, allocations: 4.078 kB / 0.7595 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4781, allocations: 19.94 kB / 0.7595 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.4782, allocations: 4 kB / 0.7595 GB, free: 1.273 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.pulsStart,booleanPulse.pulsStart) * 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 0.0001223/0.4783, allocations: 122.9 kB / 0.7596 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.4784, allocations: 11.81 kB / 0.7596 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004635/0.4788, allocations: 146.3 kB / 0.7598 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4789, allocations: 4 kB / 0.7598 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4789, allocations: 7.953 kB / 0.7598 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4789, allocations: 144 / 0.7598 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.4798, allocations: 438.4 kB / 0.7602 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4798, allocations: 0 / 0.7602 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.4799, allocations: 15.98 kB / 0.7602 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.48, allocations: 3.953 kB / 0.7602 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.48, allocations: 4 kB / 0.7602 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.48, allocations: 0 / 0.7602 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.48, allocations: 0 / 0.7602 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.4804, allocations: 239.2 kB / 0.7604 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.4805, allocations: 88.95 kB / 0.7605 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.4805, allocations: 11.95 kB / 0.7605 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.4808, allocations: 11.98 kB / 0.7606 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.4809, allocations: 15.98 kB / 0.7606 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4809, allocations: 7.938 kB / 0.7606 GB, free: 68 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001203/0.481, allocations: 100.1 kB / 0.7607 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.481, allocations: 0 / 0.7607 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005253/0.4816, allocations: 56 kB / 0.7607 GB, free: 15.91 MB / 0.6511 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.pulsStart) * 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.001138/0.4827, allocations: 0.8236 MB / 0.7615 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.4831, allocations: 83.92 kB / 0.7616 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4831, allocations: 0 / 0.7616 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.4832, allocations: 44 kB / 0.7617 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4836, allocations: 28.11 kB / 0.7617 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/0.4845, allocations: 199.1 kB / 0.7619 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.4849, allocations: 0.7004 MB / 0.7626 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.754e-05/0.485, allocations: 16.42 kB / 0.7626 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4851, allocations: 27.42 kB / 0.7626 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of SimCode: time 1.011e-06/0.4851, allocations: 0 / 0.7626 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.5148, allocations: 3.133 MB / 0.7657 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/0.5151, allocations: 206.4 kB / 0.7659 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.366/2.881, allocations: 4 kB / 0.7659 GB, free: 10.64 MB / 0.6511 GB