Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset.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.Controls.OBC.CDL.SetPoints.Validation.HotWaterTemperatureReset,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_SetPoints_Validation_HotWaterTemperatureReset",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.261/4.261, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5476/4.809, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/5.074, allocations: 98.71 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2504/5.325, allocations: 124.2 MB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/5.325, allocations: 75.59 kB / 0.7497 GB, free: 13.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.01271/5.338, allocations: 2.235 MB / 0.7519 GB, free: 11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/5.338, allocations: 8 kB / 0.7519 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/5.338, allocations: 15.81 kB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/5.338, allocations: 202.9 kB / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/5.338, allocations: 4 kB / 0.7521 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/5.338, allocations: 4 kB / 0.7521 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003155/5.339, allocations: 64 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/5.339, allocations: 107.3 kB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/5.339, allocations: 3.938 kB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/5.339, allocations: 0 / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/5.339, allocations: 4 kB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/5.34, allocations: 477.1 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/5.341, allocations: 121.2 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/5.341, allocations: 45.88 kB / 0.7529 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/5.341, allocations: 4 kB / 0.7529 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/5.341, allocations: 109 kB / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 3.055e-06/5.341, allocations: 0 / 0.753 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004268/5.342, allocations: 109.5 kB / 0.7531 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/5.342, allocations: 81.11 kB / 0.7532 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/5.342, allocations: 145.3 kB / 0.7533 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.188e-05/5.342, allocations: 25.7 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/5.342, allocations: 108.2 kB / 0.7534 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/5.342, allocations: 35.55 kB / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/5.342, allocations: 0 / 0.7535 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001551/5.343, allocations: 322.9 kB / 0.7538 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/5.343, allocations: 39.94 kB / 0.7538 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/5.343, allocations: 57.64 kB / 0.7539 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/5.343, allocations: 32 kB / 0.7539 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/5.343, allocations: 3.906 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004121/5.343, allocations: 129.6 kB / 0.754 GB, free: 8.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/5.344, allocations: 8 kB / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/5.344, allocations: 0 / 0.754 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/5.344, allocations: 7.844 kB / 0.754 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/5.344, allocations: 43.91 kB / 0.7541 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/5.344, allocations: 0 / 0.7541 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/5.345, allocations: 32.09 kB / 0.7541 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/5.345, allocations: 8 kB / 0.7541 GB, free: 8.492 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.TRoo1.T_start,TRoo1.T_start,$PRE.TRoo1.count,TRoo1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001779/5.345, allocations: 112.8 kB / 0.7542 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.812e-05/5.345, allocations: 19.81 kB / 0.7542 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/5.346, allocations: 135.1 kB / 0.7544 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/5.346, allocations: 4 kB / 0.7544 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/5.346, allocations: 0 / 0.7544 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/5.346, allocations: 3.984 kB / 0.7544 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/5.346, allocations: 210 kB / 0.7546 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/5.346, allocations: 0 / 0.7546 GB, free: 7.965 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/5.346, allocations: 39.91 kB / 0.7546 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/5.346, allocations: 4 kB / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/5.346, allocations: 0 / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/5.346, allocations: 0 / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/5.346, allocations: 0 / 0.7546 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003762/5.347, allocations: 159.5 kB / 0.7548 GB, free: 7.738 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005305/5.347, allocations: 0.5428 MB / 0.7553 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/5.347, allocations: 92.98 kB / 0.7554 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/5.347, allocations: 0 / 0.7554 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/5.348, allocations: 19.98 kB / 0.7554 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/5.348, allocations: 27.88 kB / 0.7554 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/5.348, allocations: 4 kB / 0.7554 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001482/5.348, allocations: 116 kB / 0.7556 GB, free: 6.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001758/5.35, allocations: 35.98 kB / 0.7556 GB, free: 6.855 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,TRoo1.T_start,TRoo1.count) * Number of discrete states: 1 (TRoo1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003986/5.35, allocations: 105.1 kB / 0.7557 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006349/5.351, allocations: 87.94 kB / 0.7558 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/5.351, allocations: 0 / 0.7558 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/5.351, allocations: 59.92 kB / 0.7558 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/5.352, allocations: 35.92 kB / 0.7559 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/5.354, allocations: 184.8 kB / 0.756 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000964/5.355, allocations: 0.7352 MB / 0.7568 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/5.355, allocations: 0 / 0.7568 GB, free: 5.602 MB / 0.6355 GB