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.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.08/4.08, allocations: 433 MB / 440.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5819/4.662, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/4.898, allocations: 98.7 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/5.154, allocations: 125.7 MB / 0.751 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/5.154, allocations: 91.52 kB / 0.7511 GB, free: 11.82 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: 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.01459/5.169, allocations: 3.001 MB / 0.754 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/5.169, allocations: 8 kB / 0.754 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/5.169, allocations: 11.91 kB / 0.754 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/5.169, allocations: 174.9 kB / 0.7542 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/5.169, allocations: 4 kB / 0.7542 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/5.169, allocations: 0 / 0.7542 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/5.169, allocations: 23.98 kB / 0.7542 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/5.17, allocations: 65.61 kB / 0.7543 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/5.17, allocations: 3.906 kB / 0.7543 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/5.17, allocations: 0 / 0.7543 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/5.17, allocations: 0 / 0.7543 GB, free: 8.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005806/5.17, allocations: 285.3 kB / 0.7546 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/5.17, allocations: 34.58 kB / 0.7546 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/5.171, allocations: 29.69 kB / 0.7546 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/5.171, allocations: 0 / 0.7546 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/5.171, allocations: 71.33 kB / 0.7547 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/5.171, allocations: 0 / 0.7547 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000323/5.171, allocations: 77.58 kB / 0.7548 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/5.171, allocations: 63.41 kB / 0.7548 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/5.171, allocations: 112.9 kB / 0.7549 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/5.171, allocations: 29.7 kB / 0.755 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/5.171, allocations: 84.31 kB / 0.755 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/5.171, allocations: 15.81 kB / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/5.171, allocations: 0 / 0.7551 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001545/5.172, allocations: 326.7 kB / 0.7554 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.476e-05/5.172, allocations: 12 kB / 0.7554 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.074e-05/5.172, allocations: 42.52 kB / 0.7554 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/5.172, allocations: 28.05 kB / 0.7555 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.172, allocations: 0 / 0.7555 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002682/5.172, allocations: 89.52 kB / 0.7555 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/5.172, allocations: 10.97 kB / 0.7555 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/5.172, allocations: 0 / 0.7555 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/5.172, allocations: 0 / 0.7555 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/5.172, allocations: 16.06 kB / 0.7556 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/5.172, allocations: 3.984 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/5.173, allocations: 7.938 kB / 0.7556 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/5.173, allocations: 8 kB / 0.7556 GB, free: 6.992 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.0001054/5.173, allocations: 108.9 kB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/5.173, allocations: 7.906 kB / 0.7557 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.015e-05/5.173, allocations: 20.3 kB / 0.7557 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/5.173, allocations: 3.938 kB / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/5.173, allocations: 0 / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/5.173, allocations: 0 / 0.7557 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/5.173, allocations: 319 kB / 0.756 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/5.173, allocations: 0 / 0.756 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/5.174, allocations: 4 kB / 0.756 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/5.174, allocations: 0 / 0.756 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/5.174, allocations: 15.92 kB / 0.756 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/5.174, allocations: 0 / 0.756 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.174, allocations: 0 / 0.756 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003864/5.174, allocations: 175.4 kB / 0.7562 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004056/5.174, allocations: 0.5427 MB / 0.7567 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.826e-05/5.175, allocations: 89.02 kB / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/5.175, allocations: 0 / 0.7568 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/5.175, allocations: 9.547 kB / 0.7568 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/5.175, allocations: 8 kB / 0.7568 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/5.175, allocations: 0 / 0.7568 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.938e-05/5.175, allocations: 91.27 kB / 0.7569 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001277/5.176, allocations: 47.98 kB / 0.757 GB, free: 5.465 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.0005198/5.177, allocations: 193.2 kB / 0.7572 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002408/5.177, allocations: 47.98 kB / 0.7572 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/5.177, allocations: 0 / 0.7572 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/5.177, allocations: 31.92 kB / 0.7572 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/5.177, allocations: 16.12 kB / 0.7572 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/5.178, allocations: 99.58 kB / 0.7573 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/5.178, allocations: 0.7075 MB / 0.758 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/5.178, allocations: 0 / 0.758 GB, free: 4.32 MB / 0.6355 GB