Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.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.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState",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.841/1.841, allocations: 387.2 MB / 394.5 MB, free: 13.26 MB / 330.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: 183.5 kB / 487 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.3 MB / 0.7819 GB, free: 6.738 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008848/0.0008849, allocations: 94.28 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.259/0.2599, allocations: 148.5 MB / 1.066 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.8324, allocations: 142.3 MB / 1.205 GB, free: 72.57 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/1.004, allocations: 152.4 MB / 1.354 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.004, allocations: 88.94 kB / 1.354 GB, free: 10.74 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.01976/1.024, allocations: 8.412 MB / 1.362 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/1.024, allocations: 12 kB / 1.362 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.602e-05/1.024, allocations: 52.03 kB / 1.362 GB, free: 2.277 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/1.024, allocations: 375.6 kB / 1.363 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/1.024, allocations: 12 kB / 1.363 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/1.024, allocations: 24 kB / 1.363 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000403/1.025, allocations: 222 kB / 1.363 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/1.025, allocations: 324.7 kB / 1.363 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/1.025, allocations: 1.25 kB / 1.363 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.814e-05/1.025, allocations: 10.23 kB / 1.363 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.025, allocations: 8 kB / 1.363 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/1.027, allocations: 1.213 MB / 1.365 GB, free: 8 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/1.028, allocations: 253.7 kB / 1.365 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.028, allocations: 125.2 kB / 1.365 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/1.028, allocations: 3.938 kB / 1.365 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/1.028, allocations: 159.6 kB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/1.028, allocations: 4 kB / 1.365 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.000369/1.029, allocations: 212.7 kB / 1.365 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.029, allocations: 136.5 kB / 1.365 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/1.029, allocations: 275.4 kB / 1.366 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/1.029, allocations: 25.7 kB / 1.366 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.029, allocations: 208.1 kB / 1.366 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/1.029, allocations: 86.61 kB / 1.366 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/1.029, allocations: 0 / 1.366 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.029, allocations: 346.8 kB / 1.366 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/1.029, allocations: 76 kB / 1.366 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/1.03, allocations: 148.6 kB / 1.367 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.03, allocations: 95.84 kB / 1.367 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.03, allocations: 0 / 1.367 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004067/1.03, allocations: 273.1 kB / 1.367 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002237/1.03, allocations: 0.535 MB / 1.367 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.03, allocations: 0 / 1.367 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/1.03, allocations: 7.562 kB / 1.367 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/1.031, allocations: 67.89 kB / 1.368 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.031, allocations: 4 kB / 1.368 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/1.031, allocations: 48.3 kB / 1.368 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/1.031, allocations: 15.98 kB / 1.368 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/1.031, allocations: 10.81 kB / 1.368 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003109/1.031, allocations: 199.8 kB / 1.368 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/1.031, allocations: 0 / 1.368 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/1.031, allocations: 4 kB / 1.368 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/1.032, allocations: 53.23 kB / 1.368 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/1.032, allocations: 4 kB / 1.368 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/1.032, allocations: 27.95 kB / 1.368 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/1.032, allocations: 12 kB / 1.368 GB, free: 12.49 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.832e-05/1.032, allocations: 112.8 kB / 1.368 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/1.032, allocations: 31.62 kB / 1.368 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/1.032, allocations: 34.89 kB / 1.368 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/1.032, allocations: 7.984 kB / 1.368 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.032, allocations: 0 / 1.368 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.032, allocations: 3.906 kB / 1.368 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.033, allocations: 0.8536 MB / 1.369 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.033, allocations: 9.031 kB / 1.369 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/1.033, allocations: 63.89 kB / 1.369 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/1.033, allocations: 4 kB / 1.369 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/1.033, allocations: 4 kB / 1.369 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/1.033, allocations: 4 kB / 1.369 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.033, allocations: 8.125 kB / 1.369 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006375/1.034, allocations: 0.658 MB / 1.37 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008383/1.035, allocations: 1.138 MB / 1.371 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/1.035, allocations: 117.5 kB / 1.371 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/1.035, allocations: 4 kB / 1.371 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/1.035, allocations: 23.98 kB / 1.371 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.035, allocations: 27.88 kB / 1.371 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.035, allocations: 12 kB / 1.371 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000242/1.036, allocations: 207.1 kB / 1.371 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001619/1.037, allocations: 127.2 kB / 1.371 GB, free: 8.746 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0001351/1.037, allocations: 116.6 kB / 1.371 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004999/1.038, allocations: 329.2 kB / 1.372 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.038, allocations: 0.5 kB / 1.372 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/1.038, allocations: 109.1 kB / 1.372 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/1.038, allocations: 67.7 kB / 1.372 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.04, allocations: 0.57 MB / 1.372 GB, free: 7.512 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/1.04, allocations: 0.858 MB / 1.373 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/1.04, allocations: 0 / 1.373 GB, free: 6.629 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPIDInitialState.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDInitialState.pipe 2>&1)