Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_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.322/4.322, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5421/4.864, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/5.107, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/5.363, allocations: 127.7 MB / 0.753 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/5.363, allocations: 79.59 kB / 0.7531 GB, free: 9.867 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.1437/5.507, allocations: 24.02 MB / 0.7765 GB, free: 1.762 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/5.507, allocations: 12 kB / 0.7765 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/5.508, allocations: 146.2 kB / 0.7767 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/5.512, allocations: 0.781 MB / 0.7774 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/5.512, allocations: 24 kB / 0.7775 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/5.512, allocations: 55.91 kB / 0.7775 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00306/5.516, allocations: 0.5233 MB / 0.778 GB, free: 172 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2776/5.793, allocations: 0.8025 MB / 0.7788 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.371e-05/5.793, allocations: 9.875 kB / 0.7788 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/5.794, allocations: 0 / 0.7788 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.973e-05/5.794, allocations: 18.31 kB / 0.7788 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006791/5.801, allocations: 3.286 MB / 0.782 GB, free: 216.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/5.803, allocations: 0.6972 MB / 0.7827 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/5.804, allocations: 245.4 kB / 0.783 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/5.804, allocations: 13.33 kB / 0.783 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/5.805, allocations: 309.7 kB / 0.7833 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 3.957e-06/5.805, allocations: 0 / 0.7833 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.001902/5.807, allocations: 0.5749 MB / 0.7838 GB, free: 216.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/5.807, allocations: 376.8 kB / 0.7842 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/5.808, allocations: 0.6718 MB / 0.7848 GB, free: 216 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/5.809, allocations: 29.36 kB / 0.7849 GB, free: 216 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/5.809, allocations: 333.7 kB / 0.7852 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/5.809, allocations: 227.1 kB / 0.7854 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/5.809, allocations: 0 / 0.7854 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.729e-05/5.809, allocations: 332.7 kB / 0.7857 GB, free: 215.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/5.81, allocations: 204.2 kB / 0.7859 GB, free: 215.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/5.811, allocations: 364.4 kB / 0.7863 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/5.812, allocations: 228.7 kB / 0.7865 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/5.812, allocations: 3.969 kB / 0.7865 GB, free: 215.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002002/5.814, allocations: 0.6407 MB / 0.7871 GB, free: 215.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/5.814, allocations: 455.8 kB / 0.7875 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/5.814, allocations: 2.25 kB / 0.7876 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/5.814, allocations: 3.562 kB / 0.7876 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/5.815, allocations: 180.4 kB / 0.7877 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/5.815, allocations: 11.7 kB / 0.7877 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/5.817, allocations: 109 kB / 0.7878 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/5.817, allocations: 20.61 kB / 0.7879 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/5.817, allocations: 7.844 kB / 0.7879 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001357/5.818, allocations: 479.2 kB / 0.7883 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.818, allocations: 0 / 0.7883 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/5.818, allocations: 7.031 kB / 0.7883 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/5.82, allocations: 131.8 kB / 0.7885 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/5.82, allocations: 5.812 kB / 0.7885 GB, free: 214.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/5.821, allocations: 68.64 kB / 0.7885 GB, free: 214.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/5.821, allocations: 19.81 kB / 0.7885 GB, free: 214.6 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: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003295/5.821, allocations: 123 kB / 0.7887 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/5.822, allocations: 113.5 kB / 0.7888 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/5.822, allocations: 107.2 kB / 0.7889 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/5.822, allocations: 3.125 kB / 0.7889 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/5.822, allocations: 5.781 kB / 0.7889 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/5.822, allocations: 3.891 kB / 0.7889 GB, free: 214.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/5.823, allocations: 0.8428 MB / 0.7897 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/5.823, allocations: 0 / 0.7897 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00156/5.825, allocations: 167.7 kB / 0.7899 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/5.825, allocations: 3.828 kB / 0.7899 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/5.825, allocations: 8.281 kB / 0.7899 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/5.825, allocations: 3.5 kB / 0.7899 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/5.825, allocations: 3.188 kB / 0.7899 GB, free: 214.3 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002583/5.828, allocations: 0.9352 MB / 0.7908 GB, free: 214.1 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003202/5.831, allocations: 1.634 MB / 0.7924 GB, free: 213.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/5.832, allocations: 270.3 kB / 0.7927 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/5.832, allocations: 2.812 kB / 0.7927 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/5.833, allocations: 87.17 kB / 0.7927 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/5.834, allocations: 39.97 kB / 0.7928 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/5.834, allocations: 18.14 kB / 0.7928 GB, free: 213.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001715/5.835, allocations: 0.5202 MB / 0.7933 GB, free: 213.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00447/5.84, allocations: 328.2 kB / 0.7936 GB, free: 213.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.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 (68): * Single equations (assignments): 66 * 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.0004387/5.84, allocations: 122.4 kB / 0.7937 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002655/5.843, allocations: 0.8468 MB / 0.7946 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/5.843, allocations: 0.9688 kB / 0.7946 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008936/5.844, allocations: 282.7 kB / 0.7948 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/5.847, allocations: 297.2 kB / 0.7951 GB, free: 213.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/5.853, allocations: 1.358 MB / 0.7964 GB, free: 212.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/5.854, allocations: 1.173 MB / 0.7976 GB, free: 212.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.603e-06/5.854, allocations: 0 / 0.7976 GB, free: 212.1 MB / 0.6511 GB