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.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.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.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009767/0.0009767, allocations: 185.3 kB / 361.1 MB, free: 7.086 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.013/1.013, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007554/0.0007554, allocations: 91.12 kB / 0.7325 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1704/0.1712, allocations: 121.5 MB / 0.8512 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.5814, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.7135, allocations: 140 MB / 1.101 GB, free: 56 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.7138, allocations: 83.67 kB / 1.101 GB, free: 15.98 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.01454/0.7283, allocations: 6.954 MB / 1.107 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.7283, allocations: 12.5 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.083e-05/0.7284, allocations: 51.34 kB / 1.107 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.7289, allocations: 366.8 kB / 1.108 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.7289, allocations: 16 kB / 1.108 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.086e-05/0.729, allocations: 24 kB / 1.108 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004802/0.7294, allocations: 275.4 kB / 1.108 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.73, allocations: 360.3 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.73, allocations: 0 / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.73, allocations: 4 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.7301, allocations: 11.91 kB / 1.108 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.7317, allocations: 1.256 MB / 1.11 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.7322, allocations: 252.9 kB / 1.11 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.7324, allocations: 108.8 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.7324, allocations: 4 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.7326, allocations: 171.8 kB / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=27): time 1.283e-06/0.7326, allocations: 0 / 1.11 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0003701/0.733, allocations: 233.4 kB / 1.11 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.7331, allocations: 136.5 kB / 1.111 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.7333, allocations: 271.3 kB / 1.111 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.7333, allocations: 25.7 kB / 1.111 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.7334, allocations: 204.8 kB / 1.111 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.7335, allocations: 82.72 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.7335, allocations: 0 / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.7336, allocations: 342.8 kB / 1.111 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.7337, allocations: 72 kB / 1.112 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.7339, allocations: 125.9 kB / 1.112 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.734, allocations: 91.92 kB / 1.112 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.734, allocations: 1.312 kB / 1.112 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003426/0.7344, allocations: 238 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.7345, allocations: 189.9 kB / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7345, allocations: 0 / 1.112 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.7345, allocations: 4.031 kB / 1.112 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.7347, allocations: 63.91 kB / 1.112 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.7348, allocations: 5.344 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.735, allocations: 47.81 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.735, allocations: 4 kB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.735, allocations: 4 kB / 1.112 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002756/0.7353, allocations: 192.1 kB / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.7353, allocations: 0 / 1.112 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.7353, allocations: 4 kB / 1.112 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.7355, allocations: 49.55 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.7355, allocations: 4.734 kB / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.7357, allocations: 35.86 kB / 1.113 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.7358, allocations: 12 kB / 1.113 GB, free: 3.578 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 7.89e-05/0.7358, allocations: 112.6 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.7359, allocations: 32.38 kB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.7363, allocations: 260.7 kB / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7363, allocations: 0 / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.7363, allocations: 0 / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.7363, allocations: 7.984 kB / 1.113 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.7371, allocations: 0.8011 MB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7371, allocations: 4 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.7374, allocations: 63.91 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.7374, allocations: 4.812 kB / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.7375, allocations: 9.797 kB / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.7375, allocations: 4 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7375, allocations: 7.906 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006402/0.7381, allocations: 0.6024 MB / 1.114 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000861/0.739, allocations: 1.1 MB / 1.115 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.7391, allocations: 117.4 kB / 1.116 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.7391, allocations: 4 kB / 1.116 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.7394, allocations: 28.05 kB / 1.116 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.7394, allocations: 23.88 kB / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.7394, allocations: 16 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001787/0.7396, allocations: 199.1 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001512/0.7411, allocations: 143.1 kB / 1.116 GB, free: 15.78 MB / 0.7292 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.0001269/0.7413, allocations: 123.1 kB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.7418, allocations: 319 kB / 1.116 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7418, allocations: 0 / 1.116 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.742, allocations: 116.4 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.7425, allocations: 111.2 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.7435, allocations: 0.5377 MB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/0.7439, allocations: 0.8636 MB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/0.7439, allocations: 0 / 1.118 GB, free: 13.66 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_maint.8.0.x_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_maint_8_0_x_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_maint_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_VOut_flow.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)