Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.699/4.699, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.844e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.292, allocations: 134.1 MB / 0.8088 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.293, allocations: 82.75 kB / 0.8089 GB, free: 12.11 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.01525/1.308, allocations: 3.282 MB / 0.8121 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.308, allocations: 4 kB / 0.8121 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.154e-05/1.308, allocations: 3.875 kB / 0.8121 GB, free: 11.63 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.0008912/1.309, allocations: 495.2 kB / 0.8126 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.309, allocations: 7.812 kB / 0.8126 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.812e-05/1.309, allocations: 36.52 kB / 0.8126 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/1.309, allocations: 11.59 kB / 0.8126 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/1.309, allocations: 189.5 kB / 0.8128 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/1.309, allocations: 3.562 kB / 0.8128 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/1.309, allocations: 3.719 kB / 0.8128 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/1.309, allocations: 75.39 kB / 0.8129 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.309, allocations: 0 / 0.8129 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.309, allocations: 0 / 0.8129 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/1.309, allocations: 0 / 0.8129 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/1.31, allocations: 42.86 kB / 0.8129 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/1.31, allocations: 335.8 kB / 0.8133 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/1.311, allocations: 74.48 kB / 0.8133 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.387e-05/1.311, allocations: 35.5 kB / 0.8134 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.311, allocations: 0 / 0.8134 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/1.311, allocations: 100.5 kB / 0.8135 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.565e-06/1.311, allocations: 3.938 kB / 0.8135 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0004004/1.312, allocations: 130.6 kB / 0.8136 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.312, allocations: 54.47 kB / 0.8136 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/1.312, allocations: 130.4 kB / 0.8138 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.312, allocations: 28.56 kB / 0.8138 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/1.312, allocations: 93.95 kB / 0.8139 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/1.312, allocations: 33.23 kB / 0.8139 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/1.312, allocations: 7.562 kB / 0.8139 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/1.312, allocations: 325 kB / 0.8142 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/1.312, allocations: 21.89 kB / 0.8143 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/1.312, allocations: 69.09 kB / 0.8143 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/1.312, allocations: 36.34 kB / 0.8144 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/1.312, allocations: 3.812 kB / 0.8144 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005915/1.313, allocations: 114.8 kB / 0.8145 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.313, allocations: 7.719 kB / 0.8145 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/1.313, allocations: 0 / 0.8145 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/1.313, allocations: 11.77 kB / 0.8145 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/1.314, allocations: 24.92 kB / 0.8145 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.269e-05/1.314, allocations: 7.859 kB / 0.8145 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/1.314, allocations: 18.92 kB / 0.8145 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/1.314, allocations: 3.875 kB / 0.8145 GB, free: 9.73 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 0.0001289/1.314, allocations: 115.4 kB / 0.8146 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/1.314, allocations: 15.53 kB / 0.8147 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/1.315, allocations: 160.8 kB / 0.8148 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/1.315, allocations: 0 / 0.8148 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.315, allocations: 7.953 kB / 0.8148 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.315, allocations: 0 / 0.8148 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/1.316, allocations: 452.5 kB / 0.8153 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.316, allocations: 0 / 0.8153 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/1.316, allocations: 14.14 kB / 0.8153 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/1.316, allocations: 3.953 kB / 0.8153 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.316, allocations: 9.984 kB / 0.8153 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/1.316, allocations: 0 / 0.8153 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.316, allocations: 0 / 0.8153 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/1.316, allocations: 234.6 kB / 0.8155 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/1.316, allocations: 87.53 kB / 0.8156 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/1.316, allocations: 10.58 kB / 0.8156 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/1.317, allocations: 10.61 kB / 0.8156 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/1.317, allocations: 15.56 kB / 0.8156 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.317, allocations: 6.578 kB / 0.8156 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.142e-05/1.317, allocations: 104.9 kB / 0.8157 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.01e-07/1.317, allocations: 3.906 kB / 0.8157 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005115/1.317, allocations: 55.86 kB / 0.8158 GB, free: 8.922 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 (14): * Single equations (assignments): 11 * 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.001457/1.319, allocations: 0.8513 MB / 0.8166 GB, free: 24.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002916/1.319, allocations: 77.55 kB / 0.8167 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.319, allocations: 3.938 kB / 0.8167 GB, free: 24.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001751/1.319, allocations: 56.09 kB / 0.8168 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/1.32, allocations: 21.39 kB / 0.8168 GB, free: 24.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/1.32, allocations: 197.1 kB / 0.817 GB, free: 24.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/1.321, allocations: 0.7068 MB / 0.8176 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.822e-05/1.321, allocations: 13.31 kB / 0.8177 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/1.321, allocations: 34.86 kB / 0.8177 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/1.321, allocations: 0 / 0.8177 GB, free: 23.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/1.343, allocations: 3.284 MB / 0.8209 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/1.344, allocations: 212.4 kB / 0.8211 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.844, allocations: 0 / 0.8211 GB, free: 22.75 MB / 0.6511 GB