Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001562/0.001561, allocations: 165.3 kB / 360.3 MB, free: 7.57 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.68/1.68, allocations: 205.2 MB / 0.6187 GB, free: 13.21 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.001209/0.001208, allocations: 103.7 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2444/0.2456, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5534/0.7991, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/1.005, allocations: 138 MB / 1.098 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.006, allocations: 72.56 kB / 1.098 GB, free: 2.859 MB / 0.698 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.02779/1.033, allocations: 6.708 MB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.034, allocations: 15.94 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/1.034, allocations: 55.42 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008938/1.035, allocations: 363.4 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/1.035, allocations: 12 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.328e-05/1.035, allocations: 27.89 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007233/1.035, allocations: 217.5 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/1.036, allocations: 314.2 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/1.036, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/1.036, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/1.036, allocations: 12 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/1.039, allocations: 1.17 MB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/1.04, allocations: 208.2 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/1.04, allocations: 100.9 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/1.04, allocations: 3.984 kB / 1.107 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/1.041, allocations: 153 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 2.424e-06/1.041, allocations: 0 / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0006699/1.041, allocations: 205.2 kB / 1.107 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/1.041, allocations: 132.5 kB / 1.107 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/1.042, allocations: 259.6 kB / 1.107 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/1.042, allocations: 26.55 kB / 1.107 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/1.042, allocations: 203.7 kB / 1.107 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.815e-05/1.042, allocations: 86.75 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/1.042, allocations: 0 / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.043, allocations: 346.8 kB / 1.108 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.043, allocations: 72.56 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/1.043, allocations: 145.4 kB / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/1.043, allocations: 94.88 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.043, allocations: 1.031 kB / 1.108 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000733/1.044, allocations: 265.1 kB / 1.108 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/1.044, allocations: 0.5254 MB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.045, allocations: 7.906 kB / 1.109 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.045, allocations: 4 kB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/1.045, allocations: 70.16 kB / 1.109 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.045, allocations: 4 kB / 1.109 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/1.046, allocations: 43.81 kB / 1.109 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/1.046, allocations: 8 kB / 1.109 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/1.046, allocations: 4 kB / 1.109 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000551/1.046, allocations: 199.2 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/1.046, allocations: 0.6562 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.156e-06/1.046, allocations: 4 kB / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/1.047, allocations: 51.92 kB / 1.109 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.047, allocations: 7.984 kB / 1.109 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/1.047, allocations: 23.75 kB / 1.109 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/1.047, allocations: 12.06 kB / 1.109 GB, free: 6.547 MB / 0.7136 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 0.0001539/1.047, allocations: 117.4 kB / 1.109 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/1.047, allocations: 36.56 kB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/1.047, allocations: 30.67 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.047, allocations: 0 / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.047, allocations: 4 kB / 1.11 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.048, allocations: 3.906 kB / 1.11 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/1.049, allocations: 0.8244 MB / 1.11 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.049, allocations: 5.562 kB / 1.11 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005027/1.05, allocations: 60.16 kB / 1.11 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/1.05, allocations: 4 kB / 1.11 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/1.05, allocations: 4 kB / 1.11 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.05, allocations: 7.906 kB / 1.11 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/1.05, allocations: 0 / 1.11 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001029/1.051, allocations: 0.6241 MB / 1.111 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001376/1.052, allocations: 1.102 MB / 1.112 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/1.052, allocations: 112.7 kB / 1.112 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/1.053, allocations: 4 kB / 1.112 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004843/1.053, allocations: 29.34 kB / 1.112 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/1.053, allocations: 23.89 kB / 1.112 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.053, allocations: 8 kB / 1.112 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003997/1.054, allocations: 203.1 kB / 1.112 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002429/1.056, allocations: 127.3 kB / 1.113 GB, free: 2.945 MB / 0.7136 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.0002469/1.056, allocations: 115.1 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009491/1.057, allocations: 317.7 kB / 1.113 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.057, allocations: 0 / 1.113 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/1.057, allocations: 91.86 kB / 1.113 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/1.058, allocations: 61.5 kB / 1.113 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.06, allocations: 0.5379 MB / 1.114 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/1.061, allocations: 0.8462 MB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/1.061, allocations: 0 / 1.115 GB, free: 0.9062 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)