Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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 3.757/3.757, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5086/4.265, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/4.494, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/5.508, allocations: 373.4 MB / 0.993 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/5.508, allocations: 87.11 kB / 0.9931 GB, free: 14.02 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 7.149/12.66, allocations: 1.45 GB / 2.443 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/12.66, allocations: 10.34 kB / 2.443 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/12.67, allocations: 0.671 MB / 2.444 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/12.68, allocations: 1.507 MB / 2.445 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/12.68, allocations: 34.88 kB / 2.445 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006323/12.68, allocations: 76.2 kB / 2.445 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004512/12.68, allocations: 0.8093 MB / 2.446 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/12.69, allocations: 1.029 MB / 2.447 GB, free: 99.98 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/12.69, allocations: 8.797 kB / 2.447 GB, free: 99.98 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/12.69, allocations: 3.625 kB / 2.447 GB, free: 99.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/12.69, allocations: 23.5 kB / 2.447 GB, free: 99.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02135/12.71, allocations: 6.637 MB / 2.453 GB, free: 96.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003935/12.71, allocations: 0.8248 MB / 2.454 GB, free: 96.04 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/12.72, allocations: 456.4 kB / 2.455 GB, free: 96.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/12.72, allocations: 2.266 MB / 2.457 GB, free: 93.49 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003246/12.72, allocations: 0.601 MB / 2.457 GB, free: 93.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=93): time 6.282e-06/12.72, allocations: 0 / 2.457 GB, free: 93.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=93): time 0.00565/12.73, allocations: 1.261 MB / 2.459 GB, free: 93.22 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/12.73, allocations: 153.1 kB / 2.459 GB, free: 93.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/12.73, allocations: 0.9123 MB / 2.46 GB, free: 92.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003373/12.73, allocations: 29.61 kB / 2.46 GB, free: 92.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/12.73, allocations: 479.3 kB / 2.46 GB, free: 92.67 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/12.73, allocations: 294.8 kB / 2.461 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.985e-05/12.73, allocations: 3.844 kB / 2.461 GB, free: 92.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001074/12.73, allocations: 350.8 kB / 2.461 GB, free: 92.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/12.73, allocations: 385.8 kB / 2.461 GB, free: 92.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/12.73, allocations: 0.6812 MB / 2.462 GB, free: 91.84 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/12.74, allocations: 0.6879 MB / 2.463 GB, free: 91.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/12.74, allocations: 0 / 2.463 GB, free: 91.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005792/12.74, allocations: 1.428 MB / 2.464 GB, free: 91.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004645/12.74, allocations: 2.147 MB / 2.466 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/12.74, allocations: 3.688 kB / 2.466 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/12.74, allocations: 17.34 kB / 2.466 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/12.75, allocations: 305 kB / 2.466 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/12.75, allocations: 14.59 kB / 2.466 GB, free: 89.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/12.75, allocations: 228.6 kB / 2.467 GB, free: 89.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002181/12.75, allocations: 62.25 kB / 2.467 GB, free: 89.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/12.75, allocations: 3.875 kB / 2.467 GB, free: 89.38 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004775/12.75, allocations: 1.235 MB / 2.468 GB, free: 89.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/12.75, allocations: 5.375 kB / 2.468 GB, free: 89.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/12.75, allocations: 11.41 kB / 2.468 GB, free: 89.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/12.76, allocations: 305 kB / 2.468 GB, free: 89.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/12.76, allocations: 18.42 kB / 2.468 GB, free: 89.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/12.76, allocations: 216.7 kB / 2.468 GB, free: 89.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/12.76, allocations: 64.22 kB / 2.468 GB, free: 89.32 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 3 * 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.0004895/12.76, allocations: 236.7 kB / 2.469 GB, free: 89.11 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/12.76, allocations: 155.7 kB / 2.469 GB, free: 89.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007557/12.77, allocations: 2.001 MB / 2.471 GB, free: 88.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/12.77, allocations: 21.19 kB / 2.471 GB, free: 88.94 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/12.77, allocations: 0 / 2.471 GB, free: 88.94 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/12.77, allocations: 3.656 kB / 2.471 GB, free: 88.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/12.78, allocations: 3.008 MB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/12.78, allocations: 0 / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/12.78, allocations: 232.1 kB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-05/12.78, allocations: 3.469 kB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/12.78, allocations: 29.89 kB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/12.78, allocations: 3.844 kB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/12.78, allocations: 3.656 kB / 2.474 GB, free: 88.58 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007745/12.79, allocations: 2.43 MB / 2.476 GB, free: 88.29 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01001/12.8, allocations: 3.637 MB / 2.48 GB, free: 87.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/12.8, allocations: 385.8 kB / 2.48 GB, free: 87.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/12.8, allocations: 12.28 kB / 2.48 GB, free: 87.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/12.81, allocations: 180.6 kB / 2.48 GB, free: 87.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/12.81, allocations: 55.59 kB / 2.481 GB, free: 87.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/12.81, allocations: 59.45 kB / 2.481 GB, free: 87.42 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001409/12.81, allocations: 0.6864 MB / 2.481 GB, free: 87.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006833/12.81, allocations: 1.135 MB / 2.482 GB, free: 87.19 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.002576/12.82, allocations: 0.9696 MB / 2.483 GB, free: 86.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004497/12.82, allocations: 1.868 MB / 2.485 GB, free: 86.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/12.82, allocations: 1.938 kB / 2.485 GB, free: 86.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/12.82, allocations: 0.7918 MB / 2.486 GB, free: 86.63 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005861/12.83, allocations: 0.5137 MB / 2.486 GB, free: 86.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008638/12.84, allocations: 2.658 MB / 2.489 GB, free: 86.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/12.84, allocations: 1.503 MB / 2.49 GB, free: 85.31 MB / 0.8542 GB Notification: Performance of SimCode: time 2.805e-06/12.84, allocations: 0 / 2.49 GB, free: 85.31 MB / 0.8542 GB