Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,fileNamePrefix="Buildings_9_Buildings_Obsolete_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.899/1.899, allocations: 387.2 MB / 394.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.2 kB / 487 MB, free: 5.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008976/0.0008976, allocations: 99.44 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4961/0.497, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.7451, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/1.313, allocations: 153.5 MB / 1.355 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.313, allocations: 89.31 kB / 1.355 GB, free: 16.16 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.0562/1.369, allocations: 25.3 MB / 1.38 GB, free: 15.44 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.369, allocations: 8 kB / 1.38 GB, free: 15.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/1.369, allocations: 154.1 kB / 1.38 GB, free: 15.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.371, allocations: 0.7762 MB / 1.381 GB, free: 14.62 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.371, allocations: 36 kB / 1.381 GB, free: 14.58 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.371, allocations: 71.91 kB / 1.381 GB, free: 14.51 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001094/1.372, allocations: 0.633 MB / 1.382 GB, free: 14.12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/1.373, allocations: 0.8486 MB / 1.383 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/1.373, allocations: 0 / 1.383 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/1.373, allocations: 0 / 1.383 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/1.373, allocations: 31.98 kB / 1.383 GB, free: 13.42 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/1.378, allocations: 3.431 MB / 1.386 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.379, allocations: 0.7735 MB / 1.387 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/1.38, allocations: 387.9 kB / 1.387 GB, free: 9.867 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.744e-05/1.38, allocations: 12.69 kB / 1.387 GB, free: 9.855 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/1.38, allocations: 330.2 kB / 1.387 GB, free: 9.625 MB / 0.823 GB Notification: Performance of pre-optimization done (n=92): time 8.356e-06/1.38, allocations: 0 / 1.387 GB, free: 9.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=92): time 0.001019/1.381, allocations: 0.612 MB / 1.388 GB, free: 9.156 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/1.381, allocations: 221.6 kB / 1.388 GB, free: 8.895 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006457/1.382, allocations: 0.5767 MB / 1.389 GB, free: 8.457 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.365e-05/1.382, allocations: 29.7 kB / 1.389 GB, free: 8.422 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/1.382, allocations: 402.4 kB / 1.389 GB, free: 8.078 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/1.383, allocations: 292.5 kB / 1.389 GB, free: 7.824 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/1.383, allocations: 3.938 kB / 1.389 GB, free: 7.824 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001076/1.383, allocations: 343.3 kB / 1.39 GB, free: 7.496 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/1.383, allocations: 246 kB / 1.39 GB, free: 7.355 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/1.384, allocations: 405.9 kB / 1.39 GB, free: 7.023 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/1.384, allocations: 294.5 kB / 1.391 GB, free: 6.844 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.384, allocations: 4 kB / 1.391 GB, free: 6.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001185/1.385, allocations: 0.7622 MB / 1.391 GB, free: 6.273 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/1.386, allocations: 0.6208 MB / 1.392 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.386, allocations: 0 / 1.392 GB, free: 5.617 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/1.386, allocations: 8 kB / 1.392 GB, free: 5.609 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.386, allocations: 205.8 kB / 1.392 GB, free: 5.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.579e-05/1.387, allocations: 8 kB / 1.392 GB, free: 5.406 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/1.387, allocations: 163.2 kB / 1.392 GB, free: 5.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/1.387, allocations: 35.17 kB / 1.392 GB, free: 5.219 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.583e-06/1.387, allocations: 8 kB / 1.392 GB, free: 5.211 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009797/1.388, allocations: 0.5992 MB / 1.393 GB, free: 4.793 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.388, allocations: 3.938 kB / 1.393 GB, free: 4.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/1.388, allocations: 8 kB / 1.393 GB, free: 4.781 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/1.389, allocations: 151.5 kB / 1.393 GB, free: 4.641 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.389, allocations: 11.98 kB / 1.393 GB, free: 4.629 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/1.389, allocations: 119.6 kB / 1.393 GB, free: 4.512 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/1.389, allocations: 26.56 kB / 1.393 GB, free: 4.492 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0001571/1.39, allocations: 128.7 kB / 1.393 GB, free: 4.359 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.39, allocations: 98.78 kB / 1.394 GB, free: 4.262 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/1.39, allocations: 92.27 kB / 1.394 GB, free: 4.219 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/1.39, allocations: 15.98 kB / 1.394 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.39, allocations: 0 / 1.394 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.39, allocations: 3.984 kB / 1.394 GB, free: 4.199 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/1.392, allocations: 1.514 MB / 1.395 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.392, allocations: 0 / 1.395 GB, free: 3.082 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/1.392, allocations: 182.3 kB / 1.395 GB, free: 2.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.392, allocations: 4 kB / 1.395 GB, free: 2.906 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/1.393, allocations: 11.36 kB / 1.395 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.393, allocations: 4 kB / 1.395 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.393, allocations: 0 / 1.395 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00134/1.394, allocations: 1.048 MB / 1.396 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001795/1.396, allocations: 1.752 MB / 1.398 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/1.396, allocations: 186.7 kB / 1.398 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/1.396, allocations: 3.438 kB / 1.398 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004361/1.396, allocations: 67.95 kB / 1.398 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/1.396, allocations: 42.52 kB / 1.398 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-05/1.397, allocations: 29.98 kB / 1.398 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004698/1.397, allocations: 443.9 kB / 1.399 GB, free: 216 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.001978/1.399, allocations: 381 kB / 1.399 GB, free: 15.84 MB / 0.8386 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: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.0001934/1.399, allocations: 132.2 kB / 1.399 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001438/1.401, allocations: 1.062 MB / 1.4 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.401, allocations: 4 kB / 1.4 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/1.401, allocations: 317.7 kB / 1.401 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/1.402, allocations: 193.4 kB / 1.401 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/1.404, allocations: 1.385 MB / 1.402 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/1.405, allocations: 1.203 MB / 1.403 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.405, allocations: 8 kB / 1.403 GB, free: 12.11 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)