Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.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.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u",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.335/1.335, allocations: 285.5 MB / 292.8 MB, free: 9.844 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.000903/0.000903, allocations: 181.2 kB / 361.1 MB, free: 352 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.02/1.02, allocations: 205.1 MB / 0.6195 GB, free: 2.859 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000775/0.000775, allocations: 89.45 kB / 0.7326 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.356/0.3568, allocations: 121.5 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.5, allocations: 115.3 MB / 0.9638 GB, free: 56.18 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.9125, allocations: 138.9 MB / 1.099 GB, free: 31.92 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001693/0.9127, allocations: 80 kB / 1.1 GB, free: 31.92 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.0404/0.9531, allocations: 20.32 MB / 1.119 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9531, allocations: 8.328 kB / 1.119 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/0.9533, allocations: 199 kB / 1.12 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009114/0.9542, allocations: 0.8126 MB / 1.12 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.9543, allocations: 51.34 kB / 1.12 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.9544, allocations: 89.84 kB / 1.12 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/0.9561, allocations: 1.159 MB / 1.122 GB, free: 29.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9578, allocations: 1.113 MB / 1.123 GB, free: 29.19 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.9578, allocations: 0 / 1.123 GB, free: 29.19 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/0.9579, allocations: 3.906 kB / 1.123 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.9579, allocations: 38.62 kB / 1.123 GB, free: 29.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/0.9639, allocations: 4.048 MB / 1.127 GB, free: 28.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.9658, allocations: 1.043 MB / 1.128 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.9663, allocations: 419.4 kB / 1.128 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.016e-05/0.9663, allocations: 23.38 kB / 1.128 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.9664, allocations: 54.09 kB / 1.128 GB, free: 28.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=122): time 2.214e-06/0.9664, allocations: 0 / 1.128 GB, free: 28.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.001316/0.9677, allocations: 0.9406 MB / 1.129 GB, free: 28.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.9677, allocations: 68.52 kB / 1.129 GB, free: 28.22 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.9683, allocations: 0.5422 MB / 1.13 GB, free: 28.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.9683, allocations: 30.14 kB / 1.13 GB, free: 28.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.9685, allocations: 0.5103 MB / 1.13 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.9687, allocations: 387.1 kB / 1.131 GB, free: 27.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.9688, allocations: 0 / 1.131 GB, free: 27.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.9689, allocations: 344.1 kB / 1.131 GB, free: 27.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.9694, allocations: 359 kB / 1.131 GB, free: 27.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.9699, allocations: 463.8 kB / 1.132 GB, free: 27.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.9705, allocations: 418.4 kB / 1.132 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9705, allocations: 3.844 kB / 1.132 GB, free: 27.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001363/0.9719, allocations: 1.008 MB / 1.133 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.9719, allocations: 98.73 kB / 1.133 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.9719, allocations: 0 / 1.133 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.972, allocations: 3.875 kB / 1.133 GB, free: 26.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.973, allocations: 280.6 kB / 1.133 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9731, allocations: 11.73 kB / 1.133 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.9738, allocations: 175.7 kB / 1.134 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.9739, allocations: 38.64 kB / 1.134 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.9739, allocations: 3.812 kB / 1.134 GB, free: 26.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/0.9751, allocations: 0.8479 MB / 1.135 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.9751, allocations: 4 kB / 1.135 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.151e-06/0.9751, allocations: 7.75 kB / 1.135 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009031/0.976, allocations: 222.2 kB / 1.135 GB, free: 26.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.976, allocations: 3.875 kB / 1.135 GB, free: 26.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.9766, allocations: 115.9 kB / 1.135 GB, free: 26.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.9767, allocations: 37.42 kB / 1.135 GB, free: 26.71 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 131 * 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.0001601/0.9768, allocations: 121 kB / 1.135 GB, free: 42.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.977, allocations: 109.2 kB / 1.135 GB, free: 42.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.9786, allocations: 1.178 MB / 1.136 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.9787, allocations: 15.56 kB / 1.136 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9787, allocations: 4.641 kB / 1.136 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.9787, allocations: 6.469 kB / 1.136 GB, free: 42.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/0.9839, allocations: 4.439 MB / 1.141 GB, free: 41.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.9839, allocations: 19.16 kB / 1.141 GB, free: 41.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.9849, allocations: 279.3 kB / 1.141 GB, free: 41.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.9849, allocations: 23 kB / 1.141 GB, free: 41.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/0.985, allocations: 27.08 kB / 1.141 GB, free: 41.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.985, allocations: 28.77 kB / 1.141 GB, free: 41.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.985, allocations: 27.38 kB / 1.141 GB, free: 41.45 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001518/0.9865, allocations: 2.291 MB / 1.143 GB, free: 39.68 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001615/0.9882, allocations: 2.686 MB / 1.146 GB, free: 37.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.9883, allocations: 220.3 kB / 1.146 GB, free: 37.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.9885, allocations: 18.56 kB / 1.146 GB, free: 37.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008653/0.9893, allocations: 151.7 kB / 1.146 GB, free: 37.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.9895, allocations: 118.8 kB / 1.146 GB, free: 37.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.9895, allocations: 62.98 kB / 1.146 GB, free: 37.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003608/0.9899, allocations: 428.8 kB / 1.147 GB, free: 37.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001975/0.9919, allocations: 0.4981 MB / 1.147 GB, free: 37.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 140 * 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.0001728/0.9921, allocations: 147.7 kB / 1.147 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.9938, allocations: 1.458 MB / 1.149 GB, free: 36.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9938, allocations: 4 kB / 1.149 GB, free: 36.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.9945, allocations: 0.5707 MB / 1.149 GB, free: 36.81 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.9952, allocations: 124.8 kB / 1.15 GB, free: 36.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.9982, allocations: 2.126 MB / 1.152 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009723/0.9992, allocations: 1.361 MB / 1.153 GB, free: 35.05 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.9992, allocations: 4 kB / 1.153 GB, free: 35.04 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_Supply_u.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.Supply_u.pipe 2>&1)