Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals",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 9.1.1-maint.9.1.x/package.mo): time 1.763/1.763, allocations: 387.2 MB / 394.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009792/0.0009791, allocations: 192.9 kB / 487 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.117/1.117, allocations: 221.4 MB / 0.7819 GB, free: 6.738 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008566, allocations: 100.9 kB / 0.9213 GB, free: 43.69 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2286/0.2295, allocations: 148.5 MB / 1.066 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.515/0.7446, allocations: 142.3 MB / 1.205 GB, free: 72.89 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.8897, allocations: 151.3 MB / 1.353 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.89, allocations: 80.75 kB / 1.353 GB, free: 11.88 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.03003/0.92, allocations: 12.81 MB / 1.366 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9201, allocations: 12 kB / 1.366 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.9203, allocations: 90.88 kB / 1.366 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008336/0.9211, allocations: 0.5083 MB / 1.366 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.9211, allocations: 20 kB / 1.366 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.9213, allocations: 48 kB / 1.366 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008888/0.9222, allocations: 429.9 kB / 1.367 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.9232, allocations: 0.5284 MB / 1.367 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.9232, allocations: 0 / 1.367 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.9232, allocations: 8.344 kB / 1.367 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.9233, allocations: 16 kB / 1.367 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.9265, allocations: 2.026 MB / 1.369 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.9273, allocations: 0.6345 MB / 1.37 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.9276, allocations: 202.6 kB / 1.37 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.9276, allocations: 13.23 kB / 1.37 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.928, allocations: 278.8 kB / 1.37 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 1.543e-06/0.928, allocations: 0 / 1.37 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.0005941/0.9286, allocations: 382.6 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.9287, allocations: 218 kB / 1.371 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.9291, allocations: 373.1 kB / 1.371 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.9291, allocations: 29.7 kB / 1.371 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.9293, allocations: 280.1 kB / 1.372 GB, free: 8.762 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.9294, allocations: 157.6 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.9294, allocations: 4 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9295, allocations: 362.8 kB / 1.372 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.9299, allocations: 173.2 kB / 1.372 GB, free: 8.066 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.9302, allocations: 293.4 kB / 1.373 GB, free: 7.734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005223/0.9308, allocations: 225.3 kB / 1.373 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9308, allocations: 0 / 1.373 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009966/0.9318, allocations: 0.5506 MB / 1.373 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.932, allocations: 0.5312 MB / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.932, allocations: 0 / 1.374 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.932, allocations: 4 kB / 1.374 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/0.9324, allocations: 107.9 kB / 1.374 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9324, allocations: 11.3 kB / 1.374 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.933, allocations: 155.5 kB / 1.374 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.9331, allocations: 23.98 kB / 1.374 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.9331, allocations: 4 kB / 1.374 GB, free: 6.09 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000909/0.934, allocations: 462.8 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9341, allocations: 1.188 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/0.9341, allocations: 11.92 kB / 1.375 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.9344, allocations: 96 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.574e-06/0.9344, allocations: 0 / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005499/0.935, allocations: 139.6 kB / 1.375 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.935, allocations: 25.5 kB / 1.375 GB, free: 5.371 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,$PRE.supFanSta.y,supFanSta.y,$PRE.TSup.booPul.y,TSup.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * 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.0001165/0.9352, allocations: 128.8 kB / 1.375 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.9352, allocations: 51.34 kB / 1.375 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.9359, allocations: 404.7 kB / 1.375 GB, free: 4.789 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9359, allocations: 4 kB / 1.375 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.9359, allocations: 4 kB / 1.375 GB, free: 4.781 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9359, allocations: 3.984 kB / 1.375 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.9373, allocations: 1.154 MB / 1.377 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.9373, allocations: 0 / 1.377 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.9377, allocations: 99.95 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.9377, allocations: 4 kB / 1.377 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.9377, allocations: 11.98 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.9377, allocations: 4 kB / 1.377 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.9377, allocations: 4.75 kB / 1.377 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008946/0.9386, allocations: 0.7554 MB / 1.377 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001259/0.9399, allocations: 1.333 MB / 1.379 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/0.94, allocations: 136.9 kB / 1.379 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.9401, allocations: 7.984 kB / 1.379 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.9404, allocations: 45.41 kB / 1.379 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.9405, allocations: 36.39 kB / 1.379 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.9405, allocations: 15.98 kB / 1.379 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002751/0.9408, allocations: 283.2 kB / 1.379 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001746/0.9426, allocations: 263.3 kB / 1.379 GB, free: 476 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (supSig.conTSup.I.y,supSig1.conTSup.I.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,supFanSta.y,TSup.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 50 * 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.0001946/0.9428, allocations: 130.6 kB / 1.38 GB, free: 340 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.9439, allocations: 0.8 MB / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9439, allocations: 0 / 1.38 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.9442, allocations: 197.5 kB / 1.381 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.9448, allocations: 116 kB / 1.381 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.9463, allocations: 0.7935 MB / 1.381 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.9469, allocations: 0.9704 MB / 1.382 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.9469, allocations: 0 / 1.382 GB, free: 13.37 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals.pipe 2>&1)