Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.771/4.771, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.382e-05, allocations: 4 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2599, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8719/1.132, allocations: 133.8 MB / 0.8085 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/1.132, allocations: 77.75 kB / 0.8086 GB, free: 12.06 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.01315/1.145, allocations: 2.977 MB / 0.8115 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/1.145, allocations: 3.812 kB / 0.8115 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.695e-06/1.145, allocations: 0 / 0.8115 GB, free: 11.61 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000584/1.146, allocations: 419.1 kB / 0.8119 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.146, allocations: 7.688 kB / 0.8119 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/1.146, allocations: 41.78 kB / 0.8119 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/1.146, allocations: 11.27 kB / 0.8119 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/1.146, allocations: 171.5 kB / 0.8121 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/1.146, allocations: 7.25 kB / 0.8121 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/1.146, allocations: 3.844 kB / 0.8121 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.147, allocations: 66.12 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.147, allocations: 0 / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/1.147, allocations: 4 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/1.147, allocations: 3.844 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.92e-05/1.147, allocations: 25.53 kB / 0.8122 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/1.147, allocations: 311.8 kB / 0.8125 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.148, allocations: 47.77 kB / 0.8125 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/1.148, allocations: 23.11 kB / 0.8126 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/1.148, allocations: 3.75 kB / 0.8126 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/1.148, allocations: 75.05 kB / 0.8126 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.148, allocations: 0 / 0.8126 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003022/1.148, allocations: 96.19 kB / 0.8127 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/1.148, allocations: 51.41 kB / 0.8128 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/1.148, allocations: 122 kB / 0.8129 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.148, allocations: 25.7 kB / 0.8129 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/1.148, allocations: 93.92 kB / 0.813 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/1.149, allocations: 18.42 kB / 0.813 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/1.149, allocations: 3.844 kB / 0.813 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/1.149, allocations: 316.5 kB / 0.8133 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/1.149, allocations: 22.34 kB / 0.8134 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/1.149, allocations: 49.94 kB / 0.8134 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/1.149, allocations: 21.69 kB / 0.8134 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.149, allocations: 0 / 0.8134 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/1.149, allocations: 98.42 kB / 0.8135 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.149, allocations: 3.906 kB / 0.8135 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/1.149, allocations: 0 / 0.8135 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.149, allocations: 3.812 kB / 0.8135 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/1.149, allocations: 14.8 kB / 0.8135 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.149, allocations: 0 / 0.8135 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/1.149, allocations: 13.59 kB / 0.8136 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.149, allocations: 10.06 kB / 0.8136 GB, free: 9.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.142e-05/1.15, allocations: 108.7 kB / 0.8137 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/1.15, allocations: 7.75 kB / 0.8137 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.742e-05/1.15, allocations: 8.469 kB / 0.8137 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.15, allocations: 0 / 0.8137 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.15, allocations: 4 kB / 0.8137 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.15, allocations: 3.141 kB / 0.8137 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/1.15, allocations: 368.5 kB / 0.814 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.15, allocations: 0 / 0.814 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/1.15, allocations: 6.453 kB / 0.814 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.15, allocations: 3.938 kB / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.15, allocations: 0 / 0.814 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.15, allocations: 3.969 kB / 0.8141 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.15, allocations: 0 / 0.8141 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/1.151, allocations: 205.4 kB / 0.8142 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/1.151, allocations: 85 kB / 0.8143 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/1.151, allocations: 7.844 kB / 0.8143 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.151, allocations: 6.422 kB / 0.8143 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.151, allocations: 2.344 kB / 0.8143 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/1.151, allocations: 3.812 kB / 0.8143 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.528e-05/1.151, allocations: 108.5 kB / 0.8145 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.151, allocations: 0 / 0.8145 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004601/1.151, allocations: 49.53 kB / 0.8145 GB, free: 9.047 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001294/1.153, allocations: 0.8 MB / 0.8153 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002265/1.153, allocations: 59.36 kB / 0.8153 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.153, allocations: 0 / 0.8153 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-05/1.153, allocations: 25.11 kB / 0.8154 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/1.153, allocations: 5.969 kB / 0.8154 GB, free: 24.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/1.154, allocations: 153.2 kB / 0.8155 GB, free: 24.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/1.154, allocations: 0.6935 MB / 0.8162 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.983e-05/1.155, allocations: 7.25 kB / 0.8162 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.808e-05/1.155, allocations: 16.66 kB / 0.8162 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of SimCode: time 1.153e-06/1.155, allocations: 0 / 0.8162 GB, free: 23.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/1.179, allocations: 2.517 MB / 0.8187 GB, free: 23.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/1.179, allocations: 223.9 kB / 0.8189 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.652, allocations: 2.344 kB / 0.8189 GB, free: 22.98 MB / 0.6511 GB