Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.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.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",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.84/3.84, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5439/4.384, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/4.623, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/9.998, allocations: 2.183 GB / 2.812 GB, free: 95.81 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/9.999, allocations: 110.5 kB / 2.812 GB, free: 95.75 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.163/10.16, allocations: 42.36 MB / 2.853 GB, free: 61.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/10.16, allocations: 8 kB / 2.853 GB, free: 61.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/10.17, allocations: 0.7037 MB / 2.854 GB, free: 60.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005972/10.18, allocations: 1.736 MB / 2.856 GB, free: 59.32 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005296/10.18, allocations: 132 kB / 2.856 GB, free: 59.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/10.18, allocations: 20 kB / 2.856 GB, free: 59.16 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006867/10.19, allocations: 2.894 MB / 2.859 GB, free: 56.26 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004848/10.19, allocations: 2.023 MB / 2.861 GB, free: 54.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/10.19, allocations: 0 / 2.861 GB, free: 54.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003701/10.19, allocations: 7.984 kB / 2.861 GB, free: 54.22 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/10.19, allocations: 8 kB / 2.861 GB, free: 54.21 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/10.21, allocations: 5.162 MB / 2.866 GB, free: 49.01 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/10.22, allocations: 2.48 MB / 2.868 GB, free: 46.52 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/10.22, allocations: 1.283 MB / 2.869 GB, free: 45.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/10.22, allocations: 16.42 kB / 2.869 GB, free: 45.22 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00467/10.23, allocations: 1.88 MB / 2.871 GB, free: 43.32 MB / 0.823 GB Notification: Performance of pre-optimization done (n=61): time 7.383e-06/10.23, allocations: 0 / 2.871 GB, free: 43.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=61): time 0.008726/10.23, allocations: 2.751 MB / 2.874 GB, free: 40.56 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/10.24, allocations: 97.59 kB / 2.874 GB, free: 40.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/10.24, allocations: 2.444 MB / 2.876 GB, free: 38 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006517/10.24, allocations: 45.69 kB / 2.876 GB, free: 37.95 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/10.24, allocations: 293.2 kB / 2.877 GB, free: 37.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003891/10.24, allocations: 173.6 kB / 2.877 GB, free: 37.49 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002283/10.24, allocations: 4 kB / 2.877 GB, free: 37.48 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/10.24, allocations: 322 kB / 2.877 GB, free: 37.16 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003262/10.25, allocations: 1.642 MB / 2.879 GB, free: 35.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/10.25, allocations: 1.613 MB / 2.88 GB, free: 33.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/10.26, allocations: 1.529 MB / 2.882 GB, free: 32.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/10.26, allocations: 0 / 2.882 GB, free: 32.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.01303/10.27, allocations: 3.472 MB / 2.885 GB, free: 28.89 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/10.27, allocations: 4 kB / 2.885 GB, free: 28.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/10.27, allocations: 0 / 2.885 GB, free: 28.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/10.27, allocations: 4 kB / 2.885 GB, free: 28.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003171/10.27, allocations: 231.7 kB / 2.885 GB, free: 28.66 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/10.27, allocations: 4 kB / 2.885 GB, free: 28.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/10.28, allocations: 115.6 kB / 2.886 GB, free: 28.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004845/10.28, allocations: 111.9 kB / 2.886 GB, free: 28.43 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * 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.0008976/10.28, allocations: 170.6 kB / 2.886 GB, free: 28.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/10.28, allocations: 177.8 kB / 2.886 GB, free: 28.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/10.29, allocations: 3.156 MB / 2.889 GB, free: 24.91 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/10.29, allocations: 4 kB / 2.889 GB, free: 24.91 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/10.29, allocations: 0 / 2.889 GB, free: 24.91 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/10.29, allocations: 0 / 2.889 GB, free: 24.91 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/10.3, allocations: 2.465 MB / 2.891 GB, free: 22.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/10.3, allocations: 0 / 2.891 GB, free: 22.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/10.3, allocations: 235.6 kB / 2.892 GB, free: 22.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/10.3, allocations: 0 / 2.892 GB, free: 22.18 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/10.3, allocations: 51.92 kB / 2.892 GB, free: 22.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/10.3, allocations: 4 kB / 2.892 GB, free: 22.12 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/10.3, allocations: 0 / 2.892 GB, free: 22.12 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008588/10.31, allocations: 2.82 MB / 2.895 GB, free: 19.28 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008661/10.32, allocations: 3.222 MB / 2.898 GB, free: 16.03 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004098/10.32, allocations: 0.772 MB / 2.898 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/10.32, allocations: 55.88 kB / 2.898 GB, free: 15.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006002/10.33, allocations: 159.8 kB / 2.899 GB, free: 15.03 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/10.33, allocations: 60.39 kB / 2.899 GB, free: 14.97 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007159/10.33, allocations: 107.9 kB / 2.899 GB, free: 14.86 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.008521/10.34, allocations: 1.876 MB / 2.901 GB, free: 13 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003487/10.34, allocations: 447.7 kB / 2.901 GB, free: 12.56 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.001699/10.34, allocations: 480.2 kB / 2.901 GB, free: 12.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007012/10.35, allocations: 3.143 MB / 2.905 GB, free: 8.941 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/10.35, allocations: 0 / 2.905 GB, free: 8.941 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/10.35, allocations: 1.429 MB / 2.906 GB, free: 7.508 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/10.36, allocations: 377.8 kB / 2.906 GB, free: 7.137 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/10.37, allocations: 3.756 MB / 2.91 GB, free: 3.34 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004047/10.37, allocations: 1.798 MB / 2.912 GB, free: 1.508 MB / 0.823 GB Notification: Performance of SimCode: time 1.703e-06/10.37, allocations: 0 / 2.912 GB, free: 1.508 MB / 0.823 GB