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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.172/4.172, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.55e-05, allocations: 2.969 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2222, allocations: 98.74 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.4639, allocations: 126.4 MB / 0.7581 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004514/0.4644, allocations: 83.95 kB / 0.7582 GB, free: 3.254 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.03474/0.4992, allocations: 2.926 MB / 0.7611 GB, free: 332 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4993, allocations: 4 kB / 0.7611 GB, free: 328 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.4993, allocations: 4 kB / 0.7611 GB, free: 324 kB / 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.0009077/0.5002, allocations: 419.9 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5003, allocations: 8.031 kB / 0.7615 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.5004, allocations: 34.56 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.5004, allocations: 7.953 kB / 0.7615 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.5006, allocations: 167 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.5007, allocations: 8 kB / 0.7617 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.5007, allocations: 8 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.501, allocations: 61.64 kB / 0.7618 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.501, allocations: 7.938 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.501, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5011, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5012, allocations: 20 kB / 0.7618 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.5024, allocations: 320.8 kB / 0.7621 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.5027, allocations: 38.56 kB / 0.7621 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.5028, allocations: 32.92 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.5029, allocations: 4 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002619/0.5032, allocations: 67.39 kB / 0.7622 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 4.819e-06/0.5032, allocations: 3.938 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005326/0.5038, allocations: 105.6 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.5038, allocations: 55.41 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.504, allocations: 105 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/0.5104, allocations: 33.7 kB / 0.7625 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.5105, allocations: 92.17 kB / 0.7626 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.5106, allocations: 15.89 kB / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.5106, allocations: 0 / 0.7626 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5108, allocations: 326.8 kB / 0.7629 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.511, allocations: 23.98 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.5112, allocations: 35.02 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.5113, allocations: 23.98 kB / 0.763 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5113, allocations: 0 / 0.763 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004347/0.5118, allocations: 101.5 kB / 0.7631 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.5119, allocations: 7.984 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5119, allocations: 160 / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.5119, allocations: 4 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.5141, allocations: 15.95 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.5141, allocations: 3.984 kB / 0.7632 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.5143, allocations: 19.83 kB / 0.7632 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5143, allocations: 0 / 0.7632 GB, free: 13.94 MB / 0.6511 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.0001388/0.5145, allocations: 117 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.5145, allocations: 7.984 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.5146, allocations: 12.61 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.5146, allocations: 4 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.5147, allocations: 3.953 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5147, allocations: 0 / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.5155, allocations: 366.3 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.5155, allocations: 4 kB / 0.7637 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.099e-05/0.5156, allocations: 8 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.5156, allocations: 4 kB / 0.7637 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5156, allocations: 3.953 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.5157, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5157, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.5161, allocations: 195.5 kB / 0.7639 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.5162, allocations: 81.02 kB / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.5162, allocations: 4 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.5165, allocations: 15.94 kB / 0.764 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.5166, allocations: 7.938 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.5166, allocations: 7.984 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.116e-05/0.5167, allocations: 91.44 kB / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5167, allocations: 0 / 0.7641 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007019/0.5174, allocations: 55.88 kB / 0.7641 GB, free: 12.87 MB / 0.6511 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.001428/0.5189, allocations: 0.7816 MB / 0.7649 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.5193, allocations: 59.91 kB / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5193, allocations: 0 / 0.7649 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.5195, allocations: 32.33 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.5199, allocations: 16.06 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.5273, allocations: 155.2 kB / 0.7651 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.5277, allocations: 0.695 MB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.5278, allocations: 8.172 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.846e-05/0.5279, allocations: 23.36 kB / 0.7658 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.5279, allocations: 0 / 0.7658 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.5671, allocations: 2.516 MB / 0.7683 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.5675, allocations: 218.2 kB / 0.7685 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.268, allocations: 0 / 0.7685 GB, free: 8.355 MB / 0.6511 GB