Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.775/3.775, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.559/4.334, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/4.57, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2391/4.809, allocations: 125.6 MB / 0.7509 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/4.809, allocations: 83.58 kB / 0.751 GB, free: 11.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.027/4.836, allocations: 5.237 MB / 0.7561 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/4.836, allocations: 8 kB / 0.7561 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/4.837, allocations: 11.81 kB / 0.7562 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/4.837, allocations: 193.8 kB / 0.7563 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/4.837, allocations: 0 / 0.7563 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/4.837, allocations: 4 kB / 0.7563 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/4.837, allocations: 27.94 kB / 0.7564 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/4.837, allocations: 49.66 kB / 0.7564 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/4.837, allocations: 3.938 kB / 0.7564 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/4.837, allocations: 4 kB / 0.7564 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/4.837, allocations: 0 / 0.7564 GB, free: 6.328 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/4.838, allocations: 281.3 kB / 0.7567 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/4.838, allocations: 38.58 kB / 0.7567 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.781e-05/4.838, allocations: 16.98 kB / 0.7567 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/4.838, allocations: 7.938 kB / 0.7568 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/4.838, allocations: 42.47 kB / 0.7568 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/4.838, allocations: 0 / 0.7568 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0003224/4.839, allocations: 65.58 kB / 0.7569 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/4.839, allocations: 51.41 kB / 0.7569 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/4.839, allocations: 113.2 kB / 0.757 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/4.839, allocations: 25.7 kB / 0.757 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/4.839, allocations: 92.12 kB / 0.7571 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/4.839, allocations: 11.81 kB / 0.7571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/4.839, allocations: 0 / 0.7571 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001408/4.839, allocations: 326.7 kB / 0.7575 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/4.839, allocations: 12 kB / 0.7575 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/4.839, allocations: 16 kB / 0.7575 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/4.839, allocations: 11.98 kB / 0.7575 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/4.839, allocations: 4 kB / 0.7575 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002288/4.84, allocations: 73.47 kB / 0.7576 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/4.84, allocations: 4 kB / 0.7576 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/4.84, allocations: 0 / 0.7576 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/4.84, allocations: 0 / 0.7576 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/4.84, allocations: 23.98 kB / 0.7576 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/4.84, allocations: 3.984 kB / 0.7576 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/4.84, allocations: 11.94 kB / 0.7576 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/4.84, allocations: 0 / 0.7576 GB, free: 5.008 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.627e-05/4.84, allocations: 112.9 kB / 0.7577 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/4.84, allocations: 3.906 kB / 0.7577 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/4.841, allocations: 86.05 kB / 0.7578 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/4.841, allocations: 0 / 0.7578 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/4.841, allocations: 0 / 0.7578 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/4.841, allocations: 4 kB / 0.7578 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/4.841, allocations: 162.1 kB / 0.758 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/4.841, allocations: 0 / 0.758 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/4.841, allocations: 15.98 kB / 0.758 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/4.841, allocations: 0 / 0.758 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/4.841, allocations: 4 kB / 0.758 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/4.841, allocations: 0 / 0.758 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/4.841, allocations: 0 / 0.758 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002663/4.841, allocations: 171.3 kB / 0.7581 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004036/4.842, allocations: 0.5388 MB / 0.7587 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/4.842, allocations: 85.02 kB / 0.7587 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/4.842, allocations: 0 / 0.7587 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/4.842, allocations: 11.98 kB / 0.7588 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/4.842, allocations: 0 / 0.7588 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/4.842, allocations: 4 kB / 0.7588 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.119e-05/4.842, allocations: 97.98 kB / 0.7589 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001233/4.844, allocations: 31.84 kB / 0.7589 GB, free: 3.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002516/4.844, allocations: 123.3 kB / 0.759 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001921/4.844, allocations: 39.94 kB / 0.759 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/4.844, allocations: 0 / 0.759 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/4.844, allocations: 16 kB / 0.7591 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/4.844, allocations: 15.98 kB / 0.7591 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/4.845, allocations: 104 kB / 0.7592 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/4.845, allocations: 0.7114 MB / 0.7599 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of SimCode: time 1.102e-06/4.845, allocations: 0 / 0.7599 GB, free: 2.527 MB / 0.6355 GB