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.SpeedShift.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.SpeedShift,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedShift",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.084/4.084, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5369/4.622, allocations: 104.4 MB / 0.5319 GB, free: 12.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/4.848, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/5.114, allocations: 130.4 MB / 0.7557 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/5.115, allocations: 91.58 kB / 0.7558 GB, free: 7.109 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.08276/5.197, allocations: 13.11 MB / 0.7686 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/5.198, allocations: 12 kB / 0.7686 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/5.198, allocations: 59.25 kB / 0.7686 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/5.198, allocations: 339.8 kB / 0.769 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/5.198, allocations: 4 kB / 0.769 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/5.198, allocations: 4 kB / 0.769 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002867/5.199, allocations: 96.14 kB / 0.7691 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/5.199, allocations: 118.1 kB / 0.7692 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/5.199, allocations: 0 / 0.7692 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/5.199, allocations: 4 kB / 0.7692 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/5.199, allocations: 3.938 kB / 0.7692 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/5.2, allocations: 0.5166 MB / 0.7697 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/5.201, allocations: 102.5 kB / 0.7698 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/5.201, allocations: 60.97 kB / 0.7698 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/5.201, allocations: 8 kB / 0.7698 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/5.201, allocations: 133.1 kB / 0.77 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=11): time 3.176e-06/5.201, allocations: 0 / 0.77 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0005969/5.202, allocations: 188.9 kB / 0.7702 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/5.202, allocations: 85.11 kB / 0.7702 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/5.203, allocations: 0.6167 MB / 0.7708 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/5.203, allocations: 33.64 kB / 0.7709 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/5.203, allocations: 163.8 kB / 0.771 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/5.203, allocations: 23.66 kB / 0.771 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/5.203, allocations: 4 kB / 0.7711 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000242/5.204, allocations: 374.8 kB / 0.7714 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/5.204, allocations: 43.98 kB / 0.7715 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/5.204, allocations: 43.97 kB / 0.7715 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/5.204, allocations: 51.97 kB / 0.7715 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/5.204, allocations: 3.906 kB / 0.7715 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005841/5.205, allocations: 200.9 kB / 0.7717 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/5.205, allocations: 4 kB / 0.7717 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/5.205, allocations: 0 / 0.7717 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/5.205, allocations: 3.938 kB / 0.7717 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/5.205, allocations: 12.19 kB / 0.7718 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/5.205, allocations: 7.906 kB / 0.7718 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/5.205, allocations: 7.984 kB / 0.7718 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/5.205, allocations: 8 kB / 0.7718 GB, free: 6.395 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0002571/5.206, allocations: 146.6 kB / 0.7719 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/5.206, allocations: 59.25 kB / 0.772 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/5.207, allocations: 230.8 kB / 0.7722 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/5.207, allocations: 4 kB / 0.7722 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/5.207, allocations: 3.984 kB / 0.7722 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/5.207, allocations: 3.906 kB / 0.7722 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/5.207, allocations: 342 kB / 0.7725 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/5.207, allocations: 4 kB / 0.7725 GB, free: 5.559 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/5.208, allocations: 4 kB / 0.7725 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/5.208, allocations: 0 / 0.7725 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/5.208, allocations: 4 kB / 0.7725 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/5.208, allocations: 0 / 0.7725 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/5.208, allocations: 3.906 kB / 0.7726 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006749/5.208, allocations: 252.2 kB / 0.7728 GB, free: 5.281 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007655/5.209, allocations: 0.614 MB / 0.7734 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/5.209, allocations: 144.4 kB / 0.7735 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/5.209, allocations: 11.91 kB / 0.7735 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/5.21, allocations: 8 kB / 0.7735 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/5.21, allocations: 4 kB / 0.7736 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/5.21, allocations: 7.984 kB / 0.7736 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001078/5.211, allocations: 0.5147 MB / 0.7741 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001597/5.212, allocations: 147.9 kB / 0.7742 GB, free: 3.797 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,booleanToInteger.u,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.001071/5.214, allocations: 374.3 kB / 0.7746 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003982/5.214, allocations: 129.7 kB / 0.7747 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/5.214, allocations: 0 / 0.7747 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/5.214, allocations: 113.7 kB / 0.7748 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008445/5.215, allocations: 91.2 kB / 0.7749 GB, free: 3.094 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/5.217, allocations: 0.7797 MB / 0.7756 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/5.219, allocations: 0.9967 MB / 0.7766 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/5.219, allocations: 0 / 0.7766 GB, free: 1.254 MB / 0.6511 GB