Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.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 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_8_0_0_Buildings_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 8.0.0/package.mo): time 2.135/2.135, allocations: 284.8 MB / 292.1 MB, free: 10.64 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.001584/0.001584, allocations: 181.3 kB / 360.3 MB, free: 7.379 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.618/1.618, allocations: 205.1 MB / 0.6187 GB, free: 12.33 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.001166/0.001166, allocations: 96.72 kB / 0.7317 GB, free: 44.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2461/0.2473, allocations: 121.5 MB / 0.8503 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5464/0.7938, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2103/1.004, allocations: 139.8 MB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/1.004, allocations: 76.55 kB / 1.099 GB, free: 0.7891 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.02678/1.031, allocations: 6.959 MB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/1.031, allocations: 8.5 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/1.031, allocations: 55.34 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/1.032, allocations: 366.8 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/1.032, allocations: 17.44 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.433e-05/1.032, allocations: 28 kB / 1.107 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008925/1.033, allocations: 270 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009862/1.034, allocations: 364.2 kB / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.034, allocations: 0 / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.052e-05/1.034, allocations: 0 / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/1.034, allocations: 15.91 kB / 1.107 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/1.038, allocations: 1.254 MB / 1.109 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/1.038, allocations: 254.4 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/1.039, allocations: 117.7 kB / 1.109 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/1.039, allocations: 4 kB / 1.109 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/1.039, allocations: 163.8 kB / 1.109 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 4.579e-06/1.039, allocations: 0 / 1.109 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0007269/1.04, allocations: 233.4 kB / 1.109 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/1.04, allocations: 132.5 kB / 1.109 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/1.041, allocations: 275.3 kB / 1.11 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/1.041, allocations: 25.7 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.041, allocations: 200.2 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.041, allocations: 86.78 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/1.041, allocations: 0 / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.041, allocations: 342.8 kB / 1.11 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/1.041, allocations: 78.34 kB / 1.11 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/1.042, allocations: 129.1 kB / 1.11 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/1.042, allocations: 79.92 kB / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.042, allocations: 0 / 1.111 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006748/1.043, allocations: 246 kB / 1.111 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.043, allocations: 193.9 kB / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.043, allocations: 0 / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/1.043, allocations: 0 / 1.111 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/1.043, allocations: 59.84 kB / 1.111 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.044, allocations: 4 kB / 1.111 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/1.044, allocations: 44.94 kB / 1.111 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.044, allocations: 16 kB / 1.111 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/1.044, allocations: 4 kB / 1.111 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005365/1.045, allocations: 184.1 kB / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/1.045, allocations: 0 / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/1.045, allocations: 0 / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/1.045, allocations: 55.91 kB / 1.111 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.045, allocations: 4 kB / 1.111 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003562/1.045, allocations: 35.86 kB / 1.111 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/1.046, allocations: 4 kB / 1.111 GB, free: 4.398 MB / 0.7136 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.000151/1.046, allocations: 121.5 kB / 1.111 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/1.046, allocations: 35.25 kB / 1.112 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/1.047, allocations: 249.2 kB / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.047, allocations: 4 kB / 1.112 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.047, allocations: 3.984 kB / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.047, allocations: 0 / 1.112 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/1.048, allocations: 0.8036 MB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.048, allocations: 4 kB / 1.113 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005404/1.049, allocations: 60.16 kB / 1.113 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/1.049, allocations: 4 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/1.049, allocations: 7.984 kB / 1.113 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/1.049, allocations: 5.375 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.049, allocations: 7.906 kB / 1.113 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001135/1.05, allocations: 0.6017 MB / 1.113 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001629/1.052, allocations: 1.1 MB / 1.114 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.052, allocations: 116.7 kB / 1.114 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/1.052, allocations: 4 kB / 1.114 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004946/1.052, allocations: 36.03 kB / 1.114 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/1.053, allocations: 19.89 kB / 1.114 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/1.053, allocations: 11.98 kB / 1.114 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000331/1.053, allocations: 203.1 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002389/1.055, allocations: 143.1 kB / 1.115 GB, free: 0.6055 MB / 0.7136 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.0002067/1.056, allocations: 115.1 kB / 1.115 GB, free: 496 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0009474/1.056, allocations: 326.3 kB / 1.115 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.056, allocations: 0 / 1.115 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003186/1.057, allocations: 113.2 kB / 1.115 GB, free: 56 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/1.058, allocations: 115.5 kB / 1.115 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/1.06, allocations: 0.5319 MB / 1.116 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/1.061, allocations: 0.8655 MB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/1.061, allocations: 0 / 1.117 GB, free: 14.48 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_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_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)