Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID",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.477/1.477, allocations: 289.8 MB / 297.1 MB, free: 6.668 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.001058/0.001058, allocations: 165.4 kB / 366.3 MB, free: 1.957 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.06/1.06, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008622/0.0008623, allocations: 82.17 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1948/0.1957, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.6381, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.7823, allocations: 140 MB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.7825, allocations: 73.45 kB / 1.109 GB, free: 8.332 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.04051/0.823, allocations: 16.68 MB / 1.126 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.8231, allocations: 8 kB / 1.126 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.8233, allocations: 126.6 kB / 1.126 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.8243, allocations: 0.6531 MB / 1.127 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.8244, allocations: 28 kB / 1.127 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.802e-05/0.8245, allocations: 59.98 kB / 1.127 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008451/0.8253, allocations: 484 kB / 1.127 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.8263, allocations: 0.6333 MB / 1.128 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.8264, allocations: 4.734 kB / 1.128 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.8264, allocations: 8 kB / 1.128 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.8264, allocations: 23.91 kB / 1.128 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.8297, allocations: 2.477 MB / 1.13 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.8307, allocations: 0.5158 MB / 1.131 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.8311, allocations: 250.7 kB / 1.131 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/0.8311, allocations: 12.48 kB / 1.131 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.8315, allocations: 266.9 kB / 1.131 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.286e-06/0.8315, allocations: 5.125 kB / 1.131 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0007345/0.8323, allocations: 463.1 kB / 1.132 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.8324, allocations: 192.6 kB / 1.132 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.8329, allocations: 487.6 kB / 1.132 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.833, allocations: 29.7 kB / 1.132 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.8332, allocations: 335.7 kB / 1.133 GB, free: 392 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.8333, allocations: 197 kB / 1.133 GB, free: 192 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.8334, allocations: 0 / 1.133 GB, free: 192 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8336, allocations: 382.8 kB / 1.133 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.8339, allocations: 193.3 kB / 1.133 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.8344, allocations: 323.5 kB / 1.134 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.8348, allocations: 223.9 kB / 1.134 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.8349, allocations: 0 / 1.134 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001024/0.8359, allocations: 0.6005 MB / 1.134 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.8361, allocations: 0.5318 MB / 1.135 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8361, allocations: 0 / 1.135 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.8361, allocations: 8 kB / 1.135 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.8367, allocations: 147.8 kB / 1.135 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.8367, allocations: 4 kB / 1.135 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.8373, allocations: 136.6 kB / 1.135 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.8374, allocations: 31.98 kB / 1.135 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.8374, allocations: 11.94 kB / 1.135 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008305/0.8382, allocations: 462.2 kB / 1.136 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8382, allocations: 4 kB / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.8382, allocations: 4 kB / 1.136 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.8386, allocations: 103.9 kB / 1.136 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8386, allocations: 7.938 kB / 1.136 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.8391, allocations: 103.6 kB / 1.136 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.8391, allocations: 24 kB / 1.136 GB, free: 12.82 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($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 (75): * Single equations (assignments): 74 * 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.0001274/0.8393, allocations: 129.4 kB / 1.136 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.8394, allocations: 75.14 kB / 1.136 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.8395, allocations: 72.42 kB / 1.136 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.8395, allocations: 11.91 kB / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8395, allocations: 0 / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8395, allocations: 3.984 kB / 1.136 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.8409, allocations: 1.174 MB / 1.137 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8409, allocations: 3.906 kB / 1.137 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.8415, allocations: 131.8 kB / 1.138 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8415, allocations: 8 kB / 1.138 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.8415, allocations: 7.984 kB / 1.138 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.8415, allocations: 4 kB / 1.138 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8415, allocations: 0 / 1.138 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/0.8426, allocations: 0.8015 MB / 1.138 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001469/0.8441, allocations: 1.439 MB / 1.14 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.8442, allocations: 152 kB / 1.14 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.8443, allocations: 2.062 kB / 1.14 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.8447, allocations: 55.95 kB / 1.14 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.8447, allocations: 32.84 kB / 1.14 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.8448, allocations: 16 kB / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003859/0.8452, allocations: 379.2 kB / 1.14 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001834/0.847, allocations: 302.3 kB / 1.141 GB, free: 7.949 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0001987/0.8472, allocations: 123.1 kB / 1.141 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.8484, allocations: 0.8133 MB / 1.142 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8484, allocations: 4.562 kB / 1.142 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.8487, allocations: 230.4 kB / 1.142 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.8494, allocations: 148.3 kB / 1.142 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.8512, allocations: 1.038 MB / 1.143 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.8519, allocations: 1.084 MB / 1.144 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.8519, allocations: 0 / 1.144 GB, free: 4.449 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PID.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1)