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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.297/4.297, allocations: 433.2 MB / 440.8 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.702e-05, allocations: 2.469 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2734, allocations: 98.73 MB / 0.6289 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.5108, allocations: 125.7 MB / 0.7517 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.5112, allocations: 83.94 kB / 0.7518 GB, free: 11.08 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01425/0.5255, allocations: 2.923 MB / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5255, allocations: 0 / 0.7546 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.5256, allocations: 0 / 0.7546 GB, free: 8.148 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.0007308/0.5263, allocations: 412 kB / 0.755 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5264, allocations: 8.031 kB / 0.755 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.5264, allocations: 7.953 kB / 0.755 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5266, allocations: 170.9 kB / 0.7552 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.5266, allocations: 8 kB / 0.7552 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.5267, allocations: 3.984 kB / 0.7552 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001114/0.5268, allocations: 23.94 kB / 0.7552 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.5269, allocations: 57.67 kB / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.527, allocations: 0 / 0.7553 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.527, allocations: 4 kB / 0.7553 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.527, allocations: 3.953 kB / 0.7553 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.5278, allocations: 289.4 kB / 0.7556 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.528, allocations: 34.58 kB / 0.7556 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.584e-05/0.528, allocations: 33.58 kB / 0.7556 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.5281, allocations: 7.875 kB / 0.7556 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.5283, allocations: 67.39 kB / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.729e-06/0.5283, allocations: 0 / 0.7557 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003621/0.5287, allocations: 97.47 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.5287, allocations: 63.47 kB / 0.7558 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5288, allocations: 101 kB / 0.7559 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.5289, allocations: 33.69 kB / 0.756 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.529, allocations: 96.23 kB / 0.7561 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.529, allocations: 3.906 kB / 0.7561 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.529, allocations: 0 / 0.7561 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5292, allocations: 322.8 kB / 0.7564 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.5293, allocations: 16 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.66e-05/0.5294, allocations: 42.5 kB / 0.7564 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.877e-05/0.5295, allocations: 24 kB / 0.7565 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5295, allocations: 0 / 0.7565 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002498/0.5297, allocations: 93.52 kB / 0.7565 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5298, allocations: 4 kB / 0.7566 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5298, allocations: 0 / 0.7566 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5298, allocations: 0 / 0.7566 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.53, allocations: 15.98 kB / 0.7566 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.53, allocations: 3.953 kB / 0.7566 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.5301, allocations: 15.91 kB / 0.7566 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5302, allocations: 4 kB / 0.7566 GB, free: 5.902 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 0.000106/0.5303, allocations: 113 kB / 0.7567 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002584/0.5306, allocations: 97.59 kB / 0.7568 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.5306, allocations: 3.906 kB / 0.7568 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.5307, allocations: 12.62 kB / 0.7568 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5307, allocations: 3.953 kB / 0.7568 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5307, allocations: 4 kB / 0.7568 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5307, allocations: 0 / 0.7568 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.5312, allocations: 335.1 kB / 0.7571 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5312, allocations: 7.938 kB / 0.7571 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.5313, allocations: 4 kB / 0.7571 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.5314, allocations: 0 / 0.7571 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.5314, allocations: 7.938 kB / 0.7572 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5314, allocations: 0 / 0.7572 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5314, allocations: 0 / 0.7572 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.5318, allocations: 199.7 kB / 0.7573 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.5319, allocations: 85.02 kB / 0.7574 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.5319, allocations: 3.984 kB / 0.7574 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.5321, allocations: 13.62 kB / 0.7574 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.5322, allocations: 4 kB / 0.7574 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.5322, allocations: 7.922 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.043e-05/0.5323, allocations: 87.94 kB / 0.7575 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.32e-07/0.5324, allocations: 8 kB / 0.7575 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004649/0.5328, allocations: 51.92 kB / 0.7576 GB, free: 4.781 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.001019/0.5339, allocations: 0.7844 MB / 0.7584 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.5341, allocations: 55.92 kB / 0.7584 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5341, allocations: 0 / 0.7584 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.5342, allocations: 27.98 kB / 0.7584 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.5345, allocations: 7.953 kB / 0.7584 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.5352, allocations: 150 kB / 0.7586 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.5356, allocations: 0.6964 MB / 0.7593 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.915e-05/0.5357, allocations: 8.172 kB / 0.7593 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.5357, allocations: 19.44 kB / 0.7593 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.5358, allocations: 0 / 0.7593 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04076/0.5765, allocations: 2.199 MB / 0.7614 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/0.5769, allocations: 192.5 kB / 0.7616 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.203, allocations: 0 / 0.7616 GB, free: 0.5781 MB / 0.6355 GB