Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01473/0.01473, allocations: 106.6 kB / 15.05 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001181/0.001181, allocations: 185.5 kB / 15.94 MB, free: 5.938 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.186/2.186, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.313/2.313, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005166/0.0005166, allocations: 15.98 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7782, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/1.012, allocations: 126.5 MB / 0.8069 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.013, allocations: 75.95 kB / 0.807 GB, free: 15.6 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.01412/1.027, allocations: 2.962 MB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.027, allocations: 0 / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.027, allocations: 0 / 0.8099 GB, free: 12.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007766/1.028, allocations: 420.8 kB / 0.8103 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.028, allocations: 12.03 kB / 0.8103 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/1.028, allocations: 34.56 kB / 0.8104 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/1.028, allocations: 15.86 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.028, allocations: 170.9 kB / 0.8105 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.597e-05/1.028, allocations: 7.984 kB / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/1.028, allocations: 4 kB / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/1.028, allocations: 73.64 kB / 0.8106 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/1.028, allocations: 3.938 kB / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.028, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.028, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/1.029, allocations: 47.97 kB / 0.8107 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008149/1.029, allocations: 316.7 kB / 0.811 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/1.03, allocations: 50.56 kB / 0.811 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/1.03, allocations: 0 / 0.811 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/1.03, allocations: 83.44 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/1.03, allocations: 0 / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/1.031, allocations: 161.5 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.031, allocations: 59.39 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.031, allocations: 109 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/1.031, allocations: 29.7 kB / 0.8114 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/1.031, allocations: 92.27 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.031, allocations: 19.8 kB / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/1.031, allocations: 0 / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.031, allocations: 318.8 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/1.031, allocations: 31.97 kB / 0.8119 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/1.031, allocations: 46.56 kB / 0.8119 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/1.032, allocations: 36.3 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.032, allocations: 0 / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004078/1.032, allocations: 125.5 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/1.032, allocations: 8 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.032, allocations: 4.062 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.032, allocations: 3.938 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/1.032, allocations: 15.98 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/1.032, allocations: 3.953 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/1.032, allocations: 4 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/1.033, allocations: 4 kB / 0.8121 GB, free: 10.12 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 () * Number of clocked 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 0.0001271/1.033, allocations: 117.8 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/1.033, allocations: 19.89 kB / 0.8123 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/1.033, allocations: 4.375 kB / 0.8123 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.033, allocations: 4 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.033, allocations: 0 / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/1.033, allocations: 7.891 kB / 0.8123 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007006/1.033, allocations: 386.4 kB / 0.8126 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.034, allocations: 4 kB / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-05/1.034, allocations: 4 kB / 0.8126 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.034, allocations: 4 kB / 0.8126 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/1.034, allocations: 3.984 kB / 0.8127 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.034, allocations: 3.953 kB / 0.8127 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.034, allocations: 0 / 0.8127 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004946/1.034, allocations: 219.4 kB / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/1.034, allocations: 81.02 kB / 0.8129 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/1.034, allocations: 7.984 kB / 0.813 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.034, allocations: 4 kB / 0.813 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/1.034, allocations: 7.938 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.035, allocations: 4 kB / 0.813 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.838e-05/1.035, allocations: 95.92 kB / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/1.035, allocations: 4 kB / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004484/1.035, allocations: 51.88 kB / 0.8131 GB, free: 9 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 () * Number of clocked 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.001153/1.036, allocations: 0.8151 MB / 0.8139 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004097/1.037, allocations: 87.86 kB / 0.814 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.037, allocations: 0 / 0.814 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/1.037, allocations: 44.05 kB / 0.814 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/1.037, allocations: 6.188 kB / 0.814 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.038, allocations: 0.7343 MB / 0.8148 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/1.039, allocations: 0.6926 MB / 0.8154 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.755e-05/1.039, allocations: 8.172 kB / 0.8154 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/1.039, allocations: 23.42 kB / 0.8155 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of SimCode: time 1.212e-06/1.039, allocations: 0 / 0.8155 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02739/1.066, allocations: 2.501 MB / 0.8179 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/1.067, allocations: 256 kB / 0.8181 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.626, allocations: 0 / 0.8181 GB, free: 3.789 MB / 0.6355 GB