Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.373/1.373, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.0009811/0.000981, allocations: 173.3 kB / 366.3 MB, free: 2.023 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.1/1.1, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008573/0.0008573, allocations: 80.17 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1956/0.1965, allocations: 122.5 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4567/0.6532, allocations: 116.3 MB / 0.9727 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.793, allocations: 140 MB / 1.109 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.7932, allocations: 79.89 kB / 1.109 GB, free: 8.43 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.02463/0.8178, allocations: 9.712 MB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.8179, allocations: 8 kB / 1.119 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.818, allocations: 67.25 kB / 1.119 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.8188, allocations: 440.3 kB / 1.119 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.8189, allocations: 16 kB / 1.119 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.8189, allocations: 35.98 kB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004576/0.8194, allocations: 257.9 kB / 1.12 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.82, allocations: 385 kB / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.82, allocations: 3.984 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.82, allocations: 3.938 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.82, allocations: 12 kB / 1.12 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.8218, allocations: 1.379 MB / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.8221, allocations: 198 kB / 1.122 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.8226, allocations: 225.4 kB / 1.122 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.8226, allocations: 7.984 kB / 1.122 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.8229, allocations: 199 kB / 1.122 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.733e-06/0.8229, allocations: 0 / 1.122 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.000507/0.8234, allocations: 321.6 kB / 1.122 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.8235, allocations: 106.8 kB / 1.122 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.8237, allocations: 282.1 kB / 1.123 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.8238, allocations: 29.7 kB / 1.123 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.8239, allocations: 212.8 kB / 1.123 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.955e-05/0.824, allocations: 134 kB / 1.123 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.824, allocations: 4 kB / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8241, allocations: 356.7 kB / 1.123 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.8244, allocations: 132.9 kB / 1.124 GB, free: 9.746 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.8246, allocations: 212.4 kB / 1.124 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.825, allocations: 160.6 kB / 1.124 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.825, allocations: 0 / 1.124 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007313/0.8258, allocations: 426 kB / 1.124 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.8259, allocations: 0.5309 MB / 1.125 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.8259, allocations: 4 kB / 1.125 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.826, allocations: 3.906 kB / 1.125 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.8263, allocations: 88.64 kB / 1.125 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.8264, allocations: 4 kB / 1.125 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.8267, allocations: 95.62 kB / 1.125 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.8268, allocations: 16 kB / 1.125 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/0.8268, allocations: 4 kB / 1.125 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006107/0.8274, allocations: 340.8 kB / 1.125 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8274, allocations: 10.48 kB / 1.125 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.8274, allocations: 4 kB / 1.125 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.8278, allocations: 72.64 kB / 1.125 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8278, allocations: 11.92 kB / 1.125 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.8281, allocations: 67.66 kB / 1.126 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.8281, allocations: 19.98 kB / 1.126 GB, free: 7.637 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: 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 (50): * Single equations (assignments): 49 * 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 9.578e-05/0.8282, allocations: 108.9 kB / 1.126 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.8283, allocations: 47.44 kB / 1.126 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.8284, allocations: 45.2 kB / 1.126 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.8284, allocations: 7.984 kB / 1.126 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.8284, allocations: 4 kB / 1.126 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.8284, allocations: 0 / 1.126 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008603/0.8293, allocations: 0.8384 MB / 1.127 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8293, allocations: 0 / 1.127 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.8297, allocations: 79.91 kB / 1.127 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8297, allocations: 0 / 1.127 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.8297, allocations: 3.984 kB / 1.127 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.8298, allocations: 4 kB / 1.127 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8298, allocations: 0.75 kB / 1.127 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000691/0.8305, allocations: 0.5825 MB / 1.127 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009626/0.8314, allocations: 1.123 MB / 1.128 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.8315, allocations: 120.6 kB / 1.128 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.429e-05/0.8316, allocations: 7.906 kB / 1.128 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.8318, allocations: 23.98 kB / 1.128 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.8318, allocations: 19.97 kB / 1.128 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.8319, allocations: 12.03 kB / 1.128 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001788/0.8321, allocations: 225.4 kB / 1.129 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001678/0.8337, allocations: 179.1 kB / 1.129 GB, free: 4.113 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * 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 (43): * Single equations (assignments): 42 * 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.0001832/0.8339, allocations: 131.1 kB / 1.129 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008463/0.8348, allocations: 0.5934 MB / 1.13 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8348, allocations: 0 / 1.13 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.835, allocations: 155.9 kB / 1.13 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.8355, allocations: 75.81 kB / 1.13 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8366, allocations: 0.6568 MB / 1.13 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.837, allocations: 0.9039 MB / 1.131 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8371, allocations: 0 / 1.131 GB, free: 1.535 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1)