Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.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_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_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 9.1.1-maint.9.1.x/package.mo): time 1.855/1.855, allocations: 387.2 MB / 394.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009647/0.0009647, allocations: 181.3 kB / 487 MB, free: 5.363 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.214/1.214, allocations: 221.3 MB / 0.7819 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009099, allocations: 92.56 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4479/0.4488, allocations: 148.6 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.6436, allocations: 142.3 MB / 1.205 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5429/1.187, allocations: 150 MB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/1.187, allocations: 79.27 kB / 1.352 GB, free: 15.83 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.01747/1.204, allocations: 7.592 MB / 1.359 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/1.204, allocations: 9.25 kB / 1.359 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/1.204, allocations: 72.27 kB / 1.359 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/1.205, allocations: 493.1 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.205, allocations: 17.78 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/1.205, allocations: 31.98 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000611/1.206, allocations: 343.3 kB / 1.36 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007106/1.207, allocations: 372.6 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.207, allocations: 3.984 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/1.207, allocations: 0.8125 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/1.207, allocations: 17.16 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/1.209, allocations: 1.387 MB / 1.362 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/1.209, allocations: 139.2 kB / 1.362 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/1.209, allocations: 63.59 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/1.209, allocations: 4.703 kB / 1.362 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.157e-05/1.209, allocations: 30.56 kB / 1.362 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/1.209, allocations: 0 / 1.362 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002697/1.209, allocations: 170.7 kB / 1.362 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.482e-05/1.209, allocations: 52.02 kB / 1.362 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/1.21, allocations: 353.7 kB / 1.363 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.21, allocations: 25.7 kB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/1.21, allocations: 292.7 kB / 1.363 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/1.21, allocations: 63.17 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/1.21, allocations: 0 / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.863e-05/1.21, allocations: 348.9 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/1.21, allocations: 80.25 kB / 1.364 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.21, allocations: 183.3 kB / 1.364 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/1.21, allocations: 101.9 kB / 1.364 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.21, allocations: 4 kB / 1.364 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003715/1.211, allocations: 303 kB / 1.364 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.211, allocations: 4 kB / 1.364 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.211, allocations: 4 kB / 1.364 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.211, allocations: 8 kB / 1.364 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.211, allocations: 95.08 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.211, allocations: 4 kB / 1.364 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/1.211, allocations: 59.66 kB / 1.364 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/1.211, allocations: 14.56 kB / 1.364 GB, free: 11.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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 5.872e-05/1.212, allocations: 116 kB / 1.364 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/1.212, allocations: 35.53 kB / 1.364 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/1.212, allocations: 202.2 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.212, allocations: 4 kB / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/1.212, allocations: 0 / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.212, allocations: 0 / 1.365 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/1.213, allocations: 0.7102 MB / 1.365 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.213, allocations: 4 kB / 1.365 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002099/1.213, allocations: 59.59 kB / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/1.213, allocations: 7.906 kB / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.213, allocations: 0 / 1.365 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.213, allocations: 4 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.213, allocations: 0 / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/1.213, allocations: 396.7 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002774/1.213, allocations: 0.7535 MB / 1.367 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/1.213, allocations: 123.1 kB / 1.367 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/1.214, allocations: 4 kB / 1.367 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.214, allocations: 23.98 kB / 1.367 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/1.214, allocations: 19.59 kB / 1.367 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.214, allocations: 7.375 kB / 1.367 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001724/1.214, allocations: 250.9 kB / 1.367 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008887/1.215, allocations: 87.5 kB / 1.367 GB, free: 9.191 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.000108/1.215, allocations: 109.3 kB / 1.367 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002802/1.215, allocations: 192.7 kB / 1.367 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.215, allocations: 4.75 kB / 1.367 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/1.215, allocations: 77.25 kB / 1.367 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/1.216, allocations: 177.2 kB / 1.368 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/1.217, allocations: 0.521 MB / 1.368 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/1.217, allocations: 0.8946 MB / 1.369 GB, free: 23.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/1.217, allocations: 0 / 1.369 GB, free: 23.3 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat