Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_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.815/1.815, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001019/0.001019, allocations: 177.3 kB / 487 MB, free: 5.398 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.164/1.164, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008619/0.0008619, allocations: 101.4 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4308/0.4317, allocations: 148.6 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.6297, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5549/1.185, allocations: 150.2 MB / 1.352 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/1.185, allocations: 81.78 kB / 1.352 GB, free: 15.94 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.02209/1.207, allocations: 8.928 MB / 1.361 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.207, allocations: 8.969 kB / 1.361 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.207, allocations: 80.06 kB / 1.361 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.208, allocations: 0.5723 MB / 1.362 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.208, allocations: 20 kB / 1.362 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/1.208, allocations: 36 kB / 1.362 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000611/1.209, allocations: 384.9 kB / 1.362 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/1.21, allocations: 421.2 kB / 1.362 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/1.21, allocations: 4 kB / 1.362 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/1.21, allocations: 3.984 kB / 1.362 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/1.21, allocations: 12 kB / 1.362 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/1.212, allocations: 1.552 MB / 1.364 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/1.212, allocations: 166.1 kB / 1.364 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/1.212, allocations: 79.42 kB / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/1.212, allocations: 0 / 1.364 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/1.212, allocations: 34.97 kB / 1.364 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=23): time 9.82e-07/1.212, allocations: 0 / 1.364 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23): time 0.000301/1.213, allocations: 191.9 kB / 1.364 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/1.213, allocations: 59.34 kB / 1.364 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/1.213, allocations: 387.6 kB / 1.365 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.213, allocations: 29.64 kB / 1.365 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/1.213, allocations: 317.3 kB / 1.365 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/1.213, allocations: 73.72 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/1.213, allocations: 0 / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.213, allocations: 356.6 kB / 1.365 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/1.213, allocations: 94.94 kB / 1.366 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/1.213, allocations: 206.7 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.214, allocations: 114 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.214, allocations: 4 kB / 1.366 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000414/1.214, allocations: 343.2 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.214, allocations: 4 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.214, allocations: 4 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.214, allocations: 8 kB / 1.366 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/1.214, allocations: 95.42 kB / 1.366 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.214, allocations: 4 kB / 1.366 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/1.215, allocations: 55.66 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/1.215, allocations: 15.12 kB / 1.366 GB, free: 10.33 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: 10 ($PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,$PRE.damLim.noZerMin.greHys.y,damLim.noZerMin.greHys.y,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.671e-05/1.215, allocations: 128.6 kB / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/1.215, allocations: 43.44 kB / 1.367 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/1.215, allocations: 225.4 kB / 1.367 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.215, allocations: 4 kB / 1.367 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.215, allocations: 3.938 kB / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.215, allocations: 0 / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007344/1.216, allocations: 0.7825 MB / 1.368 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.216, allocations: 3.984 kB / 1.368 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/1.216, allocations: 56.16 kB / 1.368 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/1.216, allocations: 4 kB / 1.368 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.216, allocations: 0 / 1.368 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/1.216, allocations: 11.94 kB / 1.368 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.216, allocations: 0 / 1.368 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000277/1.217, allocations: 423.7 kB / 1.368 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003258/1.217, allocations: 0.7905 MB / 1.369 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/1.217, allocations: 123.5 kB / 1.369 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.554e-05/1.217, allocations: 10.97 kB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.217, allocations: 27.97 kB / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/1.217, allocations: 27.89 kB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/1.217, allocations: 8 kB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002032/1.218, allocations: 271.8 kB / 1.369 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008908/1.219, allocations: 103.4 kB / 1.369 GB, free: 7.492 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: 2 (damLim.noZerMin.greHys.y,damLim1.noZerMin.greHys.y) * Number of discrete states: 2 (damLim1.noZerMin.greHys.y,damLim.noZerMin.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001019/1.219, allocations: 119.8 kB / 1.369 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00031/1.219, allocations: 230.7 kB / 1.37 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.219, allocations: 0 / 1.37 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/1.219, allocations: 95.94 kB / 1.37 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/1.22, allocations: 177.1 kB / 1.37 GB, free: 7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009451/1.221, allocations: 0.5879 MB / 1.371 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/1.221, allocations: 0.9247 MB / 1.371 GB, free: 21.48 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.221, allocations: 0 / 1.371 GB, free: 21.48 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_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_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_FanSpe_VOut_flow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_FanSpe_VOut_flow_res.mat does not exist to compare? outputFormat=mat