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.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.0113/0.0113, allocations: 107.8 kB / 15.05 MB, free: 5.93 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.001241/0.001241, allocations: 187.1 kB / 15.95 MB, free: 5.895 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.154/2.154, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.385/2.385, allocations: 236.1 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005089, allocations: 16 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7305/0.7311, allocations: 98.69 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/0.9816, allocations: 126.5 MB / 0.8069 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.982, allocations: 87.89 kB / 0.807 GB, free: 15.61 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.01911/1.001, allocations: 2.947 MB / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/1.001, allocations: 0 / 0.8099 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.378e-06/1.001, allocations: 0 / 0.8099 GB, free: 12.66 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.001031/1.002, allocations: 428.7 kB / 0.8103 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.083e-05/1.002, allocations: 12.03 kB / 0.8103 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/1.003, allocations: 30.56 kB / 0.8104 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/1.003, allocations: 11.95 kB / 0.8104 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/1.003, allocations: 178.9 kB / 0.8105 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/1.003, allocations: 8 kB / 0.8105 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/1.003, allocations: 4 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/1.003, allocations: 69.66 kB / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.003, allocations: 0 / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/1.003, allocations: 4 kB / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.003, allocations: 0 / 0.8106 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003557/1.004, allocations: 43.97 kB / 0.8107 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/1.005, allocations: 316.7 kB / 0.811 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/1.005, allocations: 54.55 kB / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/1.006, allocations: 0 / 0.811 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/1.006, allocations: 79.58 kB / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 7.835e-06/1.006, allocations: 0 / 0.8111 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001046/1.007, allocations: 161.6 kB / 0.8112 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/1.007, allocations: 59.41 kB / 0.8113 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/1.007, allocations: 109 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.007, allocations: 25.7 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/1.007, allocations: 100.2 kB / 0.8115 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/1.008, allocations: 7.906 kB / 0.8115 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/1.008, allocations: 8 kB / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.008, allocations: 314.8 kB / 0.8118 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/1.008, allocations: 31.98 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.008, allocations: 46.56 kB / 0.8119 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/1.009, allocations: 40.03 kB / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.009, allocations: 0 / 0.812 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006827/1.009, allocations: 121.5 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/1.009, allocations: 8 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.009, allocations: 0 / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.009, allocations: 0 / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.01, allocations: 23.86 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.01, allocations: 3.953 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/1.01, allocations: 15.97 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.01, allocations: 7.984 kB / 0.8121 GB, free: 10.14 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.0001941/1.01, allocations: 113.8 kB / 0.8122 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/1.01, allocations: 4 kB / 0.8122 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/1.01, allocations: 8.375 kB / 0.8122 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.01, allocations: 4 kB / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.01, allocations: 0 / 0.8123 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.01, allocations: 7.938 kB / 0.8123 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/1.012, allocations: 386.4 kB / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.012, allocations: 3.938 kB / 0.8126 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.012, allocations: 7.984 kB / 0.8126 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.012, allocations: 4 kB / 0.8126 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/1.012, allocations: 4 kB / 0.8126 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/1.012, allocations: 3.953 kB / 0.8127 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.012, allocations: 4 kB / 0.8127 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/1.013, allocations: 211.4 kB / 0.8129 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/1.013, allocations: 81.02 kB / 0.8129 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/1.013, allocations: 4 kB / 0.8129 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/1.013, allocations: 12 kB / 0.8129 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/1.013, allocations: 11.94 kB / 0.813 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/1.013, allocations: 4 kB / 0.813 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001134/1.013, allocations: 95.86 kB / 0.8131 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.71e-07/1.013, allocations: 0 / 0.8131 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007462/1.014, allocations: 59.86 kB / 0.8131 GB, free: 9.02 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.001799/1.016, allocations: 0.8158 MB / 0.8139 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006333/1.017, allocations: 79.91 kB / 0.814 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/1.017, allocations: 0 / 0.814 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/1.017, allocations: 35.98 kB / 0.814 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/1.017, allocations: 15.88 kB / 0.814 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/1.019, allocations: 0.7401 MB / 0.8148 GB, free: 7.266 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.019, allocations: 0.6926 MB / 0.8154 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.019, allocations: 4.172 kB / 0.8154 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/1.019, allocations: 19.44 kB / 0.8155 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of SimCode: time 1.944e-06/1.02, allocations: 0 / 0.8155 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/1.046, allocations: 2.503 MB / 0.8179 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003605/1.046, allocations: 244 kB / 0.8181 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.762, allocations: 0 / 0.8181 GB, free: 3.863 MB / 0.6355 GB