Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009549/0.000955, allocations: 185.3 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9982/0.9982, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007224/0.0007224, allocations: 95.59 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1722/0.1729, allocations: 121.5 MB / 0.8512 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.5748, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.7046, allocations: 139 MB / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.7048, allocations: 77.97 kB / 1.1 GB, free: 0.8984 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.02744/0.7323, allocations: 11.08 MB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.7323, allocations: 8 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.7325, allocations: 75.16 kB / 1.111 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.7333, allocations: 476.4 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.7333, allocations: 12 kB / 1.111 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.7334, allocations: 43.91 kB / 1.111 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004789/0.7339, allocations: 274.9 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.7345, allocations: 397.1 kB / 1.112 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.7345, allocations: 0 / 1.112 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.7345, allocations: 4 kB / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.7346, allocations: 12 kB / 1.112 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.7365, allocations: 1.475 MB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.7368, allocations: 219.3 kB / 1.113 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004021/0.7372, allocations: 244.8 kB / 1.114 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/0.7373, allocations: 4 kB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.7376, allocations: 210.3 kB / 1.114 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 1.894e-06/0.7376, allocations: 4 kB / 1.114 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=47): time 0.000565/0.7382, allocations: 353.1 kB / 1.114 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.7382, allocations: 111.2 kB / 1.114 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.7385, allocations: 290 kB / 1.115 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.7386, allocations: 33.7 kB / 1.115 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.7387, allocations: 212.8 kB / 1.115 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.7388, allocations: 153.8 kB / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.7388, allocations: 0 / 1.115 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.739, allocations: 358.8 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.7392, allocations: 157 kB / 1.115 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/0.7396, allocations: 249.9 kB / 1.116 GB, free: 356 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.7401, allocations: 192.6 kB / 1.116 GB, free: 164 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.7401, allocations: 3.984 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009421/0.741, allocations: 0.4985 MB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.7412, allocations: 0.618 MB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7412, allocations: 11.91 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7413, allocations: 4 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.7416, allocations: 87.89 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.7416, allocations: 9.969 kB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.7422, allocations: 127.6 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.7422, allocations: 23.98 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/0.7422, allocations: 4 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008224/0.7431, allocations: 438.8 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.7431, allocations: 0 / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.7431, allocations: 4 kB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.7434, allocations: 71.91 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.7434, allocations: 4 kB / 1.118 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.7439, allocations: 111.8 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.7439, allocations: 25.3 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * 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.000118/0.7441, allocations: 130.4 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.7441, allocations: 47.44 kB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.375e-05/0.7442, allocations: 44.69 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7442, allocations: 4 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7442, allocations: 0 / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7443, allocations: 4.125 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009588/0.7452, allocations: 0.8875 MB / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7452, allocations: 1.188 kB / 1.119 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.7456, allocations: 79.89 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7456, allocations: 4 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.7457, allocations: 0 / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.7457, allocations: 4 kB / 1.119 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7457, allocations: 4 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000728/0.7464, allocations: 0.6248 MB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001029/0.7475, allocations: 1.179 MB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.7475, allocations: 120.5 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/0.7476, allocations: 7.906 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.7479, allocations: 23.97 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.7479, allocations: 24.41 kB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.7479, allocations: 15.98 kB / 1.121 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001964/0.7481, allocations: 228.6 kB / 1.121 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001621/0.7498, allocations: 207.1 kB / 1.121 GB, free: 10.37 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: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001793/0.75, allocations: 123.1 kB / 1.121 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009989/0.751, allocations: 0.7323 MB / 1.122 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.751, allocations: 7.938 kB / 1.122 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.7512, allocations: 174.2 kB / 1.122 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.7517, allocations: 80.62 kB / 1.122 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.7529, allocations: 0.6943 MB / 1.123 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004912/0.7534, allocations: 0.9264 MB / 1.124 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.7534, allocations: 0 / 1.124 GB, free: 7.551 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1)