Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.386/4.386, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.969e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2352, allocations: 107.1 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9585/1.194, allocations: 134 MB / 0.8087 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.194, allocations: 82.33 kB / 0.8088 GB, free: 12.24 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.01389/1.208, allocations: 3.102 MB / 0.8118 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.883e-06/1.208, allocations: 3.938 kB / 0.8118 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.208, allocations: 3.812 kB / 0.8118 GB, free: 11.77 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.0007734/1.209, allocations: 467 kB / 0.8122 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.209, allocations: 11.53 kB / 0.8123 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/1.209, allocations: 33.75 kB / 0.8123 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/1.209, allocations: 15.59 kB / 0.8123 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/1.209, allocations: 180.2 kB / 0.8125 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.829e-05/1.209, allocations: 35.8 kB / 0.8125 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/1.209, allocations: 15.81 kB / 0.8125 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/1.21, allocations: 66.75 kB / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.21, allocations: 0 / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/1.21, allocations: 0 / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.21, allocations: 3.812 kB / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/1.21, allocations: 27.95 kB / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007267/1.211, allocations: 338.5 kB / 0.8129 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/1.211, allocations: 60.05 kB / 0.813 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.101e-05/1.211, allocations: 30.97 kB / 0.813 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/1.211, allocations: 3.812 kB / 0.813 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/1.211, allocations: 85.95 kB / 0.8131 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.258e-06/1.211, allocations: 96 / 0.8131 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003329/1.211, allocations: 114.3 kB / 0.8132 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/1.211, allocations: 55.36 kB / 0.8133 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.212, allocations: 118.3 kB / 0.8134 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.212, allocations: 29.58 kB / 0.8134 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/1.212, allocations: 105.2 kB / 0.8135 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/1.212, allocations: 15.12 kB / 0.8135 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/1.212, allocations: 0 / 0.8135 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/1.212, allocations: 323.6 kB / 0.8138 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/1.212, allocations: 29.75 kB / 0.8139 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.49e-05/1.212, allocations: 54.02 kB / 0.8139 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.519e-05/1.212, allocations: 29.58 kB / 0.8139 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.212, allocations: 0 / 0.8139 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002566/1.212, allocations: 124.5 kB / 0.8141 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.212, allocations: 6.375 kB / 0.8141 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.212, allocations: 11.84 kB / 0.8141 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/1.212, allocations: 0 / 0.8141 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/1.213, allocations: 22.31 kB / 0.8141 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/1.213, allocations: 128 / 0.8141 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/1.213, allocations: 29.69 kB / 0.8141 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/1.213, allocations: 3.906 kB / 0.8141 GB, free: 9.867 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 8.35e-05/1.213, allocations: 115.2 kB / 0.8142 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/1.213, allocations: 7.812 kB / 0.8143 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/1.213, allocations: 14.97 kB / 0.8143 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.213, allocations: 0 / 0.8143 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.213, allocations: 4 kB / 0.8143 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.213, allocations: 0 / 0.8143 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/1.214, allocations: 408.7 kB / 0.8147 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.214, allocations: 0 / 0.8147 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/1.214, allocations: 14.42 kB / 0.8147 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.214, allocations: 0 / 0.8147 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.214, allocations: 13.2 kB / 0.8147 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/1.214, allocations: 7.953 kB / 0.8147 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.214, allocations: 0 / 0.8147 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/1.214, allocations: 210 kB / 0.8149 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/1.214, allocations: 81.02 kB / 0.815 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/1.214, allocations: 7.438 kB / 0.815 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.215, allocations: 10.16 kB / 0.815 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/1.215, allocations: 21.14 kB / 0.815 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/1.215, allocations: 6.578 kB / 0.815 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.248e-05/1.215, allocations: 95.75 kB / 0.8151 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.215, allocations: 0 / 0.8151 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004787/1.215, allocations: 61.81 kB / 0.8152 GB, free: 9.094 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 (10): * Single equations (assignments): 7 * 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.001278/1.217, allocations: 0.8157 MB / 0.816 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002485/1.217, allocations: 76.17 kB / 0.816 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/1.217, allocations: 3.938 kB / 0.816 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/1.217, allocations: 37.47 kB / 0.8161 GB, free: 24.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.217, allocations: 22.34 kB / 0.8161 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/1.218, allocations: 173.2 kB / 0.8163 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/1.218, allocations: 0.7018 MB / 0.8169 GB, free: 23.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.109e-05/1.218, allocations: 18.75 kB / 0.817 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.668e-05/1.219, allocations: 25.12 kB / 0.817 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.219, allocations: 0 / 0.817 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/1.246, allocations: 2.908 MB / 0.8198 GB, free: 23.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/1.246, allocations: 209.8 kB / 0.82 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.756, allocations: 3.938 kB / 0.82 GB, free: 22.98 MB / 0.6511 GB