Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.55/4.55, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.532e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2325, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8733/1.106, allocations: 134 MB / 0.8087 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/1.106, allocations: 78.78 kB / 0.8088 GB, free: 12.23 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.01391/1.12, allocations: 3.128 MB / 0.8119 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.508e-06/1.12, allocations: 3.812 kB / 0.8119 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.12, allocations: 3.938 kB / 0.8119 GB, free: 11.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000734/1.121, allocations: 454.2 kB / 0.8123 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.121, allocations: 15.53 kB / 0.8123 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/1.121, allocations: 36.7 kB / 0.8123 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/1.121, allocations: 11.72 kB / 0.8124 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/1.121, allocations: 173.9 kB / 0.8125 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.121, allocations: 0 / 0.8125 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/1.121, allocations: 7.062 kB / 0.8125 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/1.121, allocations: 69.7 kB / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.122, allocations: 3.984 kB / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/1.122, allocations: 0 / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/1.122, allocations: 3.781 kB / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.122, allocations: 35.22 kB / 0.8126 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/1.122, allocations: 335.5 kB / 0.813 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/1.123, allocations: 54.41 kB / 0.813 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/1.123, allocations: 34.17 kB / 0.813 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/1.123, allocations: 0 / 0.813 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/1.123, allocations: 89.53 kB / 0.8131 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.354e-06/1.123, allocations: 0 / 0.8131 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003357/1.123, allocations: 113.1 kB / 0.8132 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/1.123, allocations: 58.14 kB / 0.8133 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/1.124, allocations: 120.7 kB / 0.8134 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/1.124, allocations: 29.52 kB / 0.8134 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/1.124, allocations: 90.23 kB / 0.8135 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/1.124, allocations: 23.03 kB / 0.8135 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/1.124, allocations: 3.688 kB / 0.8135 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/1.124, allocations: 320.8 kB / 0.8138 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/1.124, allocations: 29.2 kB / 0.8139 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/1.124, allocations: 59.19 kB / 0.8139 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.418e-05/1.124, allocations: 25.03 kB / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.124, allocations: 0 / 0.814 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002536/1.124, allocations: 118.1 kB / 0.8141 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/1.124, allocations: 8.062 kB / 0.8141 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/1.124, allocations: 11.66 kB / 0.8141 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.124, allocations: 0 / 0.8141 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/1.125, allocations: 16.09 kB / 0.8141 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.125, allocations: 3.875 kB / 0.8141 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.125, allocations: 14.03 kB / 0.8141 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.125, allocations: 11.33 kB / 0.8141 GB, free: 9.898 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,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.998e-05/1.125, allocations: 116.4 kB / 0.8142 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/1.125, allocations: 10.22 kB / 0.8142 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/1.125, allocations: 137.8 kB / 0.8144 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.125, allocations: 5.844 kB / 0.8144 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.125, allocations: 0 / 0.8144 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.125, allocations: 0 / 0.8144 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006602/1.126, allocations: 420.3 kB / 0.8148 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.126, allocations: 0 / 0.8148 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/1.126, allocations: 10.52 kB / 0.8148 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/1.126, allocations: 96 / 0.8148 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/1.126, allocations: 15.12 kB / 0.8148 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.126, allocations: 0 / 0.8148 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.126, allocations: 7.953 kB / 0.8148 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/1.127, allocations: 219.1 kB / 0.815 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/1.127, allocations: 84.16 kB / 0.8151 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/1.127, allocations: 3.812 kB / 0.8151 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/1.127, allocations: 14.31 kB / 0.8151 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/1.127, allocations: 6.672 kB / 0.8151 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.127, allocations: 10.45 kB / 0.8151 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.496e-05/1.127, allocations: 100.8 kB / 0.8152 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.127, allocations: 0 / 0.8152 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005231/1.128, allocations: 53.03 kB / 0.8153 GB, free: 9.078 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.001364/1.129, allocations: 0.8295 MB / 0.8161 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002622/1.129, allocations: 69.7 kB / 0.8162 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.129, allocations: 0 / 0.8162 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/1.129, allocations: 41.25 kB / 0.8162 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/1.13, allocations: 20.14 kB / 0.8162 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/1.131, allocations: 179.5 kB / 0.8164 GB, free: 24.24 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.131, allocations: 0.703 MB / 0.8171 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.243e-05/1.131, allocations: 7.203 kB / 0.8171 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/1.131, allocations: 28.89 kB / 0.8171 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.503e-06/1.131, allocations: 0 / 0.8171 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/1.157, allocations: 2.931 MB / 0.82 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/1.158, allocations: 205.3 kB / 0.8202 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.711/3.868, allocations: 1.875 kB / 0.8202 GB, free: 22.96 MB / 0.6511 GB