Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",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.373/4.373, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5782/4.951, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/5.211, allocations: 98.74 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/5.519, allocations: 131.5 MB / 0.7567 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004653/5.52, allocations: 79.61 kB / 0.7568 GB, free: 6.066 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.04246/5.562, allocations: 7.906 MB / 0.7645 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/5.562, allocations: 8 kB / 0.7645 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/5.562, allocations: 55.34 kB / 0.7645 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/5.563, allocations: 399.3 kB / 0.7649 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/5.563, allocations: 15.98 kB / 0.7649 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/5.563, allocations: 20 kB / 0.765 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008208/5.564, allocations: 229.5 kB / 0.7652 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009185/5.565, allocations: 341.7 kB / 0.7655 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/5.565, allocations: 4 kB / 0.7655 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/5.565, allocations: 0 / 0.7655 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/5.565, allocations: 8 kB / 0.7655 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/5.569, allocations: 1.306 MB / 0.7668 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/5.569, allocations: 194.7 kB / 0.767 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/5.57, allocations: 121.3 kB / 0.7671 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/5.57, allocations: 8 kB / 0.7671 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005184/5.57, allocations: 161.2 kB / 0.7673 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 4.298e-06/5.57, allocations: 0 / 0.7673 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.000903/5.571, allocations: 251.1 kB / 0.7675 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/5.571, allocations: 132.5 kB / 0.7676 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/5.572, allocations: 278 kB / 0.7679 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/5.572, allocations: 29.7 kB / 0.7679 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/5.572, allocations: 196.9 kB / 0.7681 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/5.572, allocations: 98.56 kB / 0.7682 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/5.572, allocations: 0 / 0.7682 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001895/5.573, allocations: 350.7 kB / 0.7685 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/5.573, allocations: 84 kB / 0.7686 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/5.573, allocations: 159.1 kB / 0.7688 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/5.574, allocations: 93.61 kB / 0.7689 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/5.574, allocations: 0 / 0.7689 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009009/5.575, allocations: 298.3 kB / 0.7691 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002477/5.575, allocations: 453 kB / 0.7696 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/5.575, allocations: 4 kB / 0.7696 GB, free: 8.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/5.575, allocations: 7.938 kB / 0.7696 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/5.575, allocations: 71.84 kB / 0.7696 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/5.576, allocations: 7.984 kB / 0.7697 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/5.576, allocations: 35.83 kB / 0.7697 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/5.576, allocations: 20 kB / 0.7697 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/5.576, allocations: 7.938 kB / 0.7697 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006796/5.577, allocations: 216.1 kB / 0.7699 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/5.577, allocations: 0 / 0.7699 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/5.577, allocations: 8.031 kB / 0.7699 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/5.577, allocations: 67.84 kB / 0.77 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/5.577, allocations: 4 kB / 0.77 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/5.578, allocations: 27.83 kB / 0.77 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/5.578, allocations: 16 kB / 0.77 GB, free: 8.117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001992/5.578, allocations: 117.1 kB / 0.7702 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/5.578, allocations: 35.53 kB / 0.7702 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/5.578, allocations: 40.06 kB / 0.7702 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/5.578, allocations: 7.906 kB / 0.7702 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/5.578, allocations: 0 / 0.7702 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/5.578, allocations: 3.984 kB / 0.7702 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/5.58, allocations: 0.7406 MB / 0.771 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/5.58, allocations: 0 / 0.771 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/5.581, allocations: 55.91 kB / 0.771 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/5.581, allocations: 0 / 0.771 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/5.581, allocations: 0 / 0.771 GB, free: 7.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-06/5.581, allocations: 4 kB / 0.771 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/5.581, allocations: 0 / 0.771 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00122/5.582, allocations: 495 kB / 0.7715 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00192/5.584, allocations: 0.9761 MB / 0.7724 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/5.584, allocations: 144.6 kB / 0.7726 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/5.584, allocations: 11.92 kB / 0.7726 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/5.585, allocations: 28.11 kB / 0.7726 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/5.585, allocations: 23.95 kB / 0.7726 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/5.585, allocations: 8 kB / 0.7726 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003834/5.586, allocations: 216.6 kB / 0.7729 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002469/5.588, allocations: 139.4 kB / 0.773 GB, free: 4.996 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000256/5.588, allocations: 111.2 kB / 0.7731 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001155/5.589, allocations: 394.5 kB / 0.7735 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/5.589, allocations: 0 / 0.7735 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/5.59, allocations: 120.5 kB / 0.7736 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/5.591, allocations: 80.48 kB / 0.7737 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/5.593, allocations: 0.5698 MB / 0.7742 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007963/5.594, allocations: 0.8585 MB / 0.7751 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/5.594, allocations: 0 / 0.7751 GB, free: 2.816 MB / 0.6511 GB