Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.LimPIDReset.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Validation_LimPIDReset",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.431/2.431, allocations: 248.6 MB / 255.9 MB, free: 1.18 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002395/0.002394, allocations: 182.1 kB / 315.1 MB, free: 9.594 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.1 MB / 0.5658 GB, free: 14.06 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001862/0.001862, allocations: 90.06 kB / 0.6699 GB, free: 51.94 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2942/0.2961, allocations: 112.4 MB / 0.7797 GB, free: 10.65 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.5629, allocations: 106.2 MB / 0.8835 GB, free: 308 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6161/1.179, allocations: 139.2 MB / 1.019 GB, free: 7.469 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.179, allocations: 79.8 kB / 1.019 GB, free: 7.395 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.1099/1.289, allocations: 20.55 MB / 1.04 GB, free: 3.102 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/1.289, allocations: 8 kB / 1.04 GB, free: 3.094 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/1.29, allocations: 123.8 kB / 1.04 GB, free: 2.973 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/1.293, allocations: 0.7386 MB / 1.04 GB, free: 2.195 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002202/1.294, allocations: 55.7 kB / 1.04 GB, free: 2.133 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/1.294, allocations: 47.91 kB / 1.04 GB, free: 2.086 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001774/1.296, allocations: 452 kB / 1.041 GB, free: 1.645 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.298, allocations: 0.6221 MB / 1.042 GB, free: 0.9727 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/1.298, allocations: 0 / 1.042 GB, free: 0.9727 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.298, allocations: 0.8438 kB / 1.042 GB, free: 0.9727 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.219e-05/1.298, allocations: 20 kB / 1.042 GB, free: 0.9531 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006582/1.305, allocations: 2.206 MB / 1.044 GB, free: 14.69 MB / 0.6902 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/1.307, allocations: 0.5405 MB / 1.044 GB, free: 14.14 MB / 0.6902 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000984/1.308, allocations: 216.6 kB / 1.044 GB, free: 13.93 MB / 0.6902 GB Notification: Performance of preOpt evalFunc (simulation): time 9.409e-05/1.308, allocations: 4.5 kB / 1.044 GB, free: 13.93 MB / 0.6902 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.309, allocations: 277.2 kB / 1.045 GB, free: 13.64 MB / 0.6902 GB Notification: Performance of pre-optimization done (n=60): time 5.42e-06/1.309, allocations: 0 / 1.045 GB, free: 13.64 MB / 0.6902 GB Notification: Performance of matching and sorting (n=60): time 0.002248/1.312, allocations: 495.9 kB / 1.045 GB, free: 13.14 MB / 0.6902 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.312, allocations: 139 kB / 1.045 GB, free: 12.98 MB / 0.6902 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/1.314, allocations: 0.5592 MB / 1.046 GB, free: 12.42 MB / 0.6902 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.314, allocations: 29.7 kB / 1.046 GB, free: 12.38 MB / 0.6902 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/1.314, allocations: 300.1 kB / 1.046 GB, free: 12.08 MB / 0.6902 GB Notification: Performance of collectInitialBindings (initialization): time 0.000393/1.315, allocations: 193 kB / 1.046 GB, free: 11.89 MB / 0.6902 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/1.315, allocations: 0 / 1.046 GB, free: 11.89 MB / 0.6902 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.315, allocations: 334 kB / 1.047 GB, free: 11.56 MB / 0.6902 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008281/1.316, allocations: 165.3 kB / 1.047 GB, free: 11.4 MB / 0.6902 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.317, allocations: 285 kB / 1.047 GB, free: 11.08 MB / 0.6902 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/1.318, allocations: 199.2 kB / 1.047 GB, free: 10.89 MB / 0.6902 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.318, allocations: 0 / 1.047 GB, free: 10.89 MB / 0.6902 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002527/1.32, allocations: 0.5614 MB / 1.048 GB, free: 10.32 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006575/1.321, allocations: 0.8794 MB / 1.049 GB, free: 9.371 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.321, allocations: 4 kB / 1.049 GB, free: 9.367 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.38e-05/1.321, allocations: 4 kB / 1.049 GB, free: 9.363 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/1.324, allocations: 163.8 kB / 1.049 GB, free: 9.203 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.324, allocations: 11.94 kB / 1.049 GB, free: 9.191 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.325, allocations: 71.48 kB / 1.049 GB, free: 9.121 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.326, allocations: 23.91 kB / 1.049 GB, free: 9.098 MB / 0.6902 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.326, allocations: 6.344 kB / 1.049 GB, free: 9.094 MB / 0.6902 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00211/1.328, allocations: 446.2 kB / 1.049 GB, free: 8.66 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.328, allocations: 7.75 kB / 1.049 GB, free: 8.656 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.328, allocations: 4 kB / 1.049 GB, free: 8.652 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/1.33, allocations: 160 kB / 1.05 GB, free: 8.496 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/1.33, allocations: 8 kB / 1.05 GB, free: 8.488 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.332, allocations: 55.56 kB / 1.05 GB, free: 8.434 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.332, allocations: 23.98 kB / 1.05 GB, free: 8.41 MB / 0.6902 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0003625/1.332, allocations: 119.9 kB / 1.05 GB, free: 8.289 MB / 0.6902 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/1.333, allocations: 90.88 kB / 1.05 GB, free: 8.199 MB / 0.6902 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/1.333, allocations: 96.56 kB / 1.05 GB, free: 8.105 MB / 0.6902 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.526e-05/1.333, allocations: 4 kB / 1.05 GB, free: 8.102 MB / 0.6902 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.333, allocations: 1.312 kB / 1.05 GB, free: 8.102 MB / 0.6902 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.333, allocations: 7.984 kB / 1.05 GB, free: 8.094 MB / 0.6902 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/1.339, allocations: 1.316 MB / 1.051 GB, free: 6.734 MB / 0.6902 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/1.339, allocations: 4 kB / 1.051 GB, free: 6.73 MB / 0.6902 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.34, allocations: 115.7 kB / 1.051 GB, free: 6.617 MB / 0.6902 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/1.341, allocations: 4 kB / 1.051 GB, free: 6.613 MB / 0.6902 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.341, allocations: 4 kB / 1.051 GB, free: 6.609 MB / 0.6902 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.341, allocations: 4 kB / 1.051 GB, free: 6.605 MB / 0.6902 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.341, allocations: 4 kB / 1.051 GB, free: 6.602 MB / 0.6902 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00352/1.344, allocations: 0.8692 MB / 1.052 GB, free: 5.715 MB / 0.6902 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004694/1.349, allocations: 1.522 MB / 1.054 GB, free: 4.176 MB / 0.6902 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008367/1.35, allocations: 223.9 kB / 1.054 GB, free: 3.938 MB / 0.6902 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/1.35, allocations: 8 kB / 1.054 GB, free: 3.93 MB / 0.6902 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.352, allocations: 47.86 kB / 1.054 GB, free: 3.883 MB / 0.6902 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/1.352, allocations: 32.45 kB / 1.054 GB, free: 3.852 MB / 0.6902 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.352, allocations: 19.98 kB / 1.054 GB, free: 3.832 MB / 0.6902 GB Notification: Performance of sort global known variables: time 0.001277/1.353, allocations: 431.2 kB / 1.054 GB, free: 3.414 MB / 0.6902 GB Notification: Performance of remove unused functions: time 0.005105/1.358, allocations: 272.5 kB / 1.055 GB, free: 3.148 MB / 0.6902 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (limPIDInp.trigger,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004456/1.359, allocations: 111.1 kB / 1.055 GB, free: 3.031 MB / 0.6902 GB Notification: Performance of simCode: created initialization part: time 0.003215/1.362, allocations: 0.7505 MB / 1.056 GB, free: 2.281 MB / 0.6902 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.362, allocations: 0 / 1.056 GB, free: 2.281 MB / 0.6902 GB Notification: Performance of simCode: created simulation system equations: time 0.0009954/1.363, allocations: 241.8 kB / 1.056 GB, free: 2.043 MB / 0.6902 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.366, allocations: 202.4 kB / 1.056 GB, free: 1.859 MB / 0.6902 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/1.372, allocations: 1.175 MB / 1.057 GB, free: 0.6484 MB / 0.6902 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/1.374, allocations: 1.1 MB / 1.058 GB, free: 15.52 MB / 0.7059 GB Notification: Performance of SimCode: time 1.072e-06/1.374, allocations: 0 / 1.058 GB, free: 15.52 MB / 0.7059 GB