Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",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 10.0.0-master/package.mo): time 1.955/1.955, allocations: 390.4 MB / 397.7 MB, free: 10.6 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.001144/0.001144, allocations: 181.8 kB / 490.8 MB, free: 11.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009891, allocations: 100.3 kB / 0.9264 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3089/0.31, allocations: 149.3 MB / 1.072 GB, free: 15.32 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9166/1.227, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1987/1.425, allocations: 153.2 MB / 1.361 GB, free: 38.35 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.426, allocations: 83.92 kB / 1.361 GB, free: 38.27 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.01576/1.441, allocations: 7.005 MB / 1.368 GB, free: 31.32 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.441, allocations: 15.22 kB / 1.368 GB, free: 31.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/1.442, allocations: 55.34 kB / 1.368 GB, free: 31.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/1.442, allocations: 358.9 kB / 1.369 GB, free: 30.86 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/1.442, allocations: 16 kB / 1.369 GB, free: 30.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/1.442, allocations: 24 kB / 1.369 GB, free: 30.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004897/1.443, allocations: 266 kB / 1.369 GB, free: 30.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/1.443, allocations: 365.1 kB / 1.369 GB, free: 30.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/1.443, allocations: 0 / 1.369 GB, free: 30.19 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/1.443, allocations: 7.938 kB / 1.369 GB, free: 30.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.443, allocations: 8.5 kB / 1.369 GB, free: 30.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/1.445, allocations: 1.247 MB / 1.371 GB, free: 28.91 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/1.446, allocations: 236.3 kB / 1.371 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/1.446, allocations: 120.8 kB / 1.371 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/1.446, allocations: 4.562 kB / 1.371 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/1.446, allocations: 165.1 kB / 1.371 GB, free: 28.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/1.446, allocations: 0.5 kB / 1.371 GB, free: 28.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.0004206/1.447, allocations: 221.8 kB / 1.371 GB, free: 28.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.447, allocations: 132.5 kB / 1.371 GB, free: 27.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/1.447, allocations: 260 kB / 1.372 GB, free: 27.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/1.447, allocations: 25.7 kB / 1.372 GB, free: 27.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/1.447, allocations: 204.8 kB / 1.372 GB, free: 27.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/1.447, allocations: 87.41 kB / 1.372 GB, free: 27.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/1.447, allocations: 0 / 1.372 GB, free: 27.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/1.447, allocations: 340.9 kB / 1.372 GB, free: 27.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/1.447, allocations: 72.78 kB / 1.372 GB, free: 26.99 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.448, allocations: 126.4 kB / 1.372 GB, free: 26.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/1.448, allocations: 80.06 kB / 1.373 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.448, allocations: 0 / 1.373 GB, free: 26.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003768/1.448, allocations: 247.2 kB / 1.373 GB, free: 26.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/1.448, allocations: 183.6 kB / 1.373 GB, free: 26.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.448, allocations: 4.594 kB / 1.373 GB, free: 26.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.448, allocations: 0 / 1.373 GB, free: 26.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/1.449, allocations: 58.19 kB / 1.373 GB, free: 26.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/1.449, allocations: 4.844 kB / 1.373 GB, free: 26.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/1.449, allocations: 43.56 kB / 1.373 GB, free: 26.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/1.449, allocations: 12.91 kB / 1.373 GB, free: 26.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/1.449, allocations: 7.984 kB / 1.373 GB, free: 26.21 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002857/1.449, allocations: 164.7 kB / 1.373 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/1.449, allocations: 0 / 1.373 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.701e-06/1.449, allocations: 4.625 kB / 1.373 GB, free: 26.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/1.449, allocations: 57.78 kB / 1.373 GB, free: 26 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/1.449, allocations: 1.562 kB / 1.373 GB, free: 26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/1.45, allocations: 34.73 kB / 1.373 GB, free: 25.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/1.45, allocations: 15.98 kB / 1.373 GB, free: 25.95 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001301/1.45, allocations: 114.3 kB / 1.373 GB, free: 25.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/1.45, allocations: 28.28 kB / 1.373 GB, free: 25.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/1.45, allocations: 256.8 kB / 1.374 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.45, allocations: 4 kB / 1.374 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.45, allocations: 0.5938 kB / 1.374 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.45, allocations: 0.5 kB / 1.374 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/1.451, allocations: 0.8004 MB / 1.375 GB, free: 24.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.452, allocations: 48 / 1.375 GB, free: 24.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/1.452, allocations: 63.89 kB / 1.375 GB, free: 24.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.452, allocations: 4 kB / 1.375 GB, free: 24.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/1.452, allocations: 5.75 kB / 1.375 GB, free: 24.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.452, allocations: 7.938 kB / 1.375 GB, free: 24.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.452, allocations: 4.031 kB / 1.375 GB, free: 24.6 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007294/1.453, allocations: 0.6008 MB / 1.375 GB, free: 23.91 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009238/1.454, allocations: 1.083 MB / 1.376 GB, free: 22.74 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/1.454, allocations: 116.7 kB / 1.376 GB, free: 22.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/1.454, allocations: 0 / 1.376 GB, free: 22.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/1.454, allocations: 36.03 kB / 1.376 GB, free: 22.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/1.454, allocations: 23.91 kB / 1.376 GB, free: 22.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/1.454, allocations: 8 kB / 1.376 GB, free: 22.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0001872/1.454, allocations: 199.1 kB / 1.377 GB, free: 22.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001877/1.456, allocations: 147.1 kB / 1.377 GB, free: 22.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0002666/1.457, allocations: 115.4 kB / 1.377 GB, free: 22.08 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000556/1.457, allocations: 319.1 kB / 1.377 GB, free: 21.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.457, allocations: 0 / 1.377 GB, free: 21.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/1.457, allocations: 103.9 kB / 1.377 GB, free: 21.66 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/1.458, allocations: 113.4 kB / 1.377 GB, free: 21.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.459, allocations: 0.5278 MB / 1.378 GB, free: 20.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/1.46, allocations: 0.8575 MB / 1.379 GB, free: 20.1 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/1.46, allocations: 0 / 1.379 GB, free: 20.1 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)