Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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 8.1.4-maint.8.1.x/package.mo): time 1.377/1.377, allocations: 289.8 MB / 297.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 173.3 kB / 366.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.2 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 95.66 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1912/0.192, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.6456, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.7829, allocations: 139.1 MB / 1.109 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.7831, allocations: 71.95 kB / 1.109 GB, free: 9.258 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.01563/0.7987, allocations: 6.712 MB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.7988, allocations: 8 kB / 1.115 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.533e-05/0.7989, allocations: 59.38 kB / 1.115 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.7994, allocations: 363.5 kB / 1.116 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7994, allocations: 12 kB / 1.116 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.7995, allocations: 27.91 kB / 1.116 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003741/0.7999, allocations: 210.2 kB / 1.116 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.8003, allocations: 318.2 kB / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.8003, allocations: 0 / 1.116 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.8004, allocations: 4 kB / 1.116 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.8004, allocations: 8 kB / 1.116 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.8019, allocations: 1.174 MB / 1.117 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.8023, allocations: 205 kB / 1.117 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.8025, allocations: 100.9 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.8025, allocations: 4 kB / 1.118 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.8027, allocations: 149 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.8027, allocations: 4 kB / 1.118 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.000335/0.803, allocations: 205.2 kB / 1.118 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.8031, allocations: 132.5 kB / 1.118 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.8033, allocations: 259.6 kB / 1.118 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.8034, allocations: 29.7 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.8035, allocations: 203.6 kB / 1.119 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.8035, allocations: 83.97 kB / 1.119 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.8035, allocations: 4 kB / 1.119 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8036, allocations: 338.8 kB / 1.119 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.8038, allocations: 80.55 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.8039, allocations: 141.4 kB / 1.119 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.8041, allocations: 99.91 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8041, allocations: 0 / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003815/0.8045, allocations: 262.3 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.8046, allocations: 0.5254 MB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8047, allocations: 3.906 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8047, allocations: 8 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.805, allocations: 67.91 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.805, allocations: 1.219 kB / 1.12 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.8052, allocations: 43.81 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.8052, allocations: 8 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.8052, allocations: 4.781 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002836/0.8055, allocations: 197.1 kB / 1.12 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.8055, allocations: 4.125 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.8055, allocations: 4 kB / 1.12 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.8057, allocations: 51.92 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.8057, allocations: 4 kB / 1.12 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.8059, allocations: 27.73 kB / 1.12 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.8059, allocations: 8 kB / 1.12 GB, free: 12.87 MB / 0.7292 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 (34): * Single equations (assignments): 34 * 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 7.655e-05/0.806, allocations: 116.9 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.806, allocations: 27.62 kB / 1.121 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.859e-05/0.8061, allocations: 35.89 kB / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.8061, allocations: 4 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.8061, allocations: 7.922 kB / 1.121 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.8061, allocations: 3.906 kB / 1.121 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.8071, allocations: 0.813 MB / 1.121 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8071, allocations: 0 / 1.121 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.8074, allocations: 64.16 kB / 1.121 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.8074, allocations: 5.406 kB / 1.121 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.8074, allocations: 8 kB / 1.121 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.8074, allocations: 7.891 kB / 1.121 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8074, allocations: 4 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005965/0.808, allocations: 0.6252 MB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007627/0.8088, allocations: 1.096 MB / 1.123 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/0.8089, allocations: 120.7 kB / 1.123 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.8089, allocations: 4 kB / 1.123 GB, free: 9.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.8092, allocations: 19.98 kB / 1.123 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.8092, allocations: 27.88 kB / 1.123 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.8092, allocations: 12 kB / 1.123 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001666/0.8094, allocations: 204.8 kB / 1.124 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001648/0.8111, allocations: 127.3 kB / 1.124 GB, free: 9.262 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (25): * Single equations (assignments): 25 * 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.0001333/0.8112, allocations: 107.1 kB / 1.124 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.8117, allocations: 327.3 kB / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8117, allocations: 0 / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.8118, allocations: 85.67 kB / 1.124 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.8122, allocations: 61.44 kB / 1.124 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.8133, allocations: 0.5456 MB / 1.125 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.8137, allocations: 0.8522 MB / 1.126 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8137, allocations: 0 / 1.126 GB, free: 7.219 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)