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.LimPID.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.LimPID,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_LimPID",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.187/4.187, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.577/4.764, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/5.068, allocations: 98.73 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/5.332, allocations: 130.7 MB / 0.756 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/5.332, allocations: 79.61 kB / 0.756 GB, free: 6.82 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.09858/5.431, allocations: 16.85 MB / 0.7725 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/5.431, allocations: 8 kB / 0.7725 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004361/5.431, allocations: 94.88 kB / 0.7726 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/5.433, allocations: 0.5704 MB / 0.7731 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/5.433, allocations: 76.41 kB / 0.7732 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/5.434, allocations: 28 kB / 0.7732 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001965/5.436, allocations: 329.9 kB / 0.7736 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/5.438, allocations: 492.7 kB / 0.774 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/5.439, allocations: 0 / 0.774 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/5.439, allocations: 4 kB / 0.774 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/5.439, allocations: 19.91 kB / 0.774 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008406/5.447, allocations: 1.897 MB / 0.7759 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/5.449, allocations: 408.1 kB / 0.7763 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/5.449, allocations: 156.9 kB / 0.7764 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.481e-05/5.45, allocations: 11.98 kB / 0.7764 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006569/5.45, allocations: 233.4 kB / 0.7767 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 4.118e-06/5.45, allocations: 0 / 0.7767 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.001321/5.452, allocations: 376.9 kB / 0.777 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/5.452, allocations: 187.9 kB / 0.7772 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009661/5.453, allocations: 451.5 kB / 0.7776 GB, free: 356 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/5.453, allocations: 33.69 kB / 0.7777 GB, free: 316 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00028/5.453, allocations: 240.8 kB / 0.7779 GB, free: 68 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.3474/5.801, allocations: 141.5 kB / 0.778 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/5.801, allocations: 3 kB / 0.778 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002486/5.801, allocations: 378.2 kB / 0.7784 GB, free: 221.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/5.802, allocations: 139.3 kB / 0.7785 GB, free: 221.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000738/5.802, allocations: 249.2 kB / 0.7788 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/5.803, allocations: 160.9 kB / 0.7789 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/5.803, allocations: 0 / 0.7789 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001848/5.805, allocations: 458.7 kB / 0.7794 GB, free: 221.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002772/5.805, allocations: 0.7865 MB / 0.7801 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/5.805, allocations: 3.812 kB / 0.7801 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.37e-05/5.805, allocations: 6.094 kB / 0.7801 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/5.807, allocations: 123.8 kB / 0.7803 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/5.807, allocations: 3.75 kB / 0.7803 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/5.808, allocations: 71.86 kB / 0.7803 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.075e-05/5.808, allocations: 15.94 kB / 0.7803 GB, free: 221 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/5.808, allocations: 3.938 kB / 0.7803 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001389/5.81, allocations: 347.9 kB / 0.7807 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/5.81, allocations: 3.438 kB / 0.7807 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/5.81, allocations: 5.688 kB / 0.7807 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/5.811, allocations: 98.53 kB / 0.7808 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/5.811, allocations: 6.469 kB / 0.7808 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/5.812, allocations: 48.42 kB / 0.7808 GB, free: 221 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/5.813, allocations: 20.59 kB / 0.7809 GB, free: 221 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0003337/5.813, allocations: 126.4 kB / 0.781 GB, free: 220.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/5.813, allocations: 64.88 kB / 0.781 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/5.814, allocations: 67.95 kB / 0.7811 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/5.814, allocations: 3.844 kB / 0.7811 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/5.814, allocations: 0 / 0.7811 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/5.814, allocations: 3.938 kB / 0.7811 GB, free: 220.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/5.815, allocations: 0.56 MB / 0.7817 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/5.815, allocations: 3.969 kB / 0.7817 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/5.817, allocations: 95.8 kB / 0.7817 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/5.817, allocations: 2.25 kB / 0.7818 GB, free: 220.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/5.817, allocations: 16.91 kB / 0.7818 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/5.817, allocations: 0 / 0.7818 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/5.817, allocations: 0 / 0.7818 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002334/5.819, allocations: 0.6015 MB / 0.7824 GB, free: 220.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003144/5.822, allocations: 1.185 MB / 0.7835 GB, free: 220.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/5.823, allocations: 201.2 kB / 0.7837 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/5.823, allocations: 7.719 kB / 0.7837 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/5.825, allocations: 59.27 kB / 0.7838 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/5.825, allocations: 30.08 kB / 0.7838 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/5.826, allocations: 21.2 kB / 0.7838 GB, free: 219.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0009643/5.827, allocations: 349.5 kB / 0.7842 GB, free: 219.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005135/5.832, allocations: 211.4 kB / 0.7844 GB, free: 219.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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.0005008/5.832, allocations: 115 kB / 0.7845 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002461/5.835, allocations: 0.6287 MB / 0.7851 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/5.835, allocations: 0 / 0.7851 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006981/5.836, allocations: 180.5 kB / 0.7852 GB, free: 219.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/5.838, allocations: 153.2 kB / 0.7854 GB, free: 219.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/5.842, allocations: 0.8625 MB / 0.7862 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/5.844, allocations: 0.9876 MB / 0.7872 GB, free: 218.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.583e-06/5.844, allocations: 3.375 kB / 0.7872 GB, free: 218.7 MB / 0.6511 GB