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_Disable.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_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",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.799/1.799, allocations: 387.2 MB / 394.5 MB, free: 4.543 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.2 kB / 487 MB, free: 11.11 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 4.047 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008249, allocations: 93.38 kB / 0.9213 GB, free: 5.133 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.3897/0.3906, allocations: 148.6 MB / 1.066 GB, free: 140.9 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.5832, allocations: 142.3 MB / 1.205 GB, free: 14.59 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5401/1.123, allocations: 150.2 MB / 1.352 GB, free: 1.801 MB / 0.8153 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/1.124, allocations: 75.94 kB / 1.352 GB, free: 1.727 MB / 0.8153 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.02447/1.148, allocations: 11.16 MB / 1.363 GB, free: 6.531 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.148, allocations: 8 kB / 1.363 GB, free: 6.523 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/1.148, allocations: 94.88 kB / 1.363 GB, free: 6.43 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/1.149, allocations: 0.5879 MB / 1.364 GB, free: 5.797 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/1.149, allocations: 28 kB / 1.364 GB, free: 5.77 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.839e-05/1.149, allocations: 48 kB / 1.364 GB, free: 5.723 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008469/1.15, allocations: 0.5039 MB / 1.364 GB, free: 5.219 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/1.151, allocations: 0.5307 MB / 1.365 GB, free: 4.684 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/1.151, allocations: 0 / 1.365 GB, free: 4.684 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/1.151, allocations: 4 kB / 1.365 GB, free: 4.68 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/1.151, allocations: 20 kB / 1.365 GB, free: 4.66 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/1.154, allocations: 1.851 MB / 1.367 GB, free: 2.766 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/1.155, allocations: 242.8 kB / 1.367 GB, free: 2.516 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.155, allocations: 136.8 kB / 1.367 GB, free: 2.379 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/1.155, allocations: 8 kB / 1.367 GB, free: 2.371 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/1.155, allocations: 38.5 kB / 1.367 GB, free: 2.324 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/1.155, allocations: 0 / 1.367 GB, free: 2.324 MB / 0.8309 GB Notification: Performance of matching and sorting (n=41): time 0.0005112/1.155, allocations: 313.8 kB / 1.367 GB, free: 2.012 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/1.155, allocations: 59.19 kB / 1.367 GB, free: 1.941 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/1.156, allocations: 409 kB / 1.368 GB, free: 1.535 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/1.156, allocations: 33.64 kB / 1.368 GB, free: 1.496 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/1.156, allocations: 350.9 kB / 1.368 GB, free: 1.148 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/1.156, allocations: 126.1 kB / 1.368 GB, free: 1.023 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/1.156, allocations: 0 / 1.368 GB, free: 1.023 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.156, allocations: 366.7 kB / 1.369 GB, free: 0.6562 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.157, allocations: 121.3 kB / 1.369 GB, free: 0.5391 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/1.157, allocations: 220.8 kB / 1.369 GB, free: 288 kB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/1.157, allocations: 145.4 kB / 1.369 GB, free: 144 kB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.157, allocations: 0 / 1.369 GB, free: 144 kB / 0.8309 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000607/1.158, allocations: 414.7 kB / 1.369 GB, free: 15.73 MB / 0.8466 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.158, allocations: 11.97 kB / 1.37 GB, free: 15.72 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.158, allocations: 4 kB / 1.37 GB, free: 15.71 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.158, allocations: 7.984 kB / 1.37 GB, free: 15.71 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/1.158, allocations: 107.9 kB / 1.37 GB, free: 15.6 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.158, allocations: 15.92 kB / 1.37 GB, free: 15.59 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/1.158, allocations: 63.5 kB / 1.37 GB, free: 15.52 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/1.159, allocations: 20 kB / 1.37 GB, free: 15.5 MB / 0.8466 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (damLim1.and3.y,damLim2.and3.y,damLim3.and3.y,damLim3.and3.u3,damLim3.and3.u2,damLim2.and3.u3,damLim2.and3.u2,damLim1.and3.u3,damLim1.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * 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 9.335e-05/1.159, allocations: 120.9 kB / 1.37 GB, free: 15.38 MB / 0.8466 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/1.159, allocations: 51.34 kB / 1.37 GB, free: 15.33 MB / 0.8466 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006321/1.159, allocations: 354.8 kB / 1.37 GB, free: 14.97 MB / 0.8466 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.159, allocations: 4 kB / 1.37 GB, free: 14.97 MB / 0.8466 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.159, allocations: 4 kB / 1.37 GB, free: 14.96 MB / 0.8466 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.159, allocations: 0 / 1.37 GB, free: 14.96 MB / 0.8466 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/1.161, allocations: 1.304 MB / 1.372 GB, free: 13.54 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.161, allocations: 4 kB / 1.372 GB, free: 13.54 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.161, allocations: 88.27 kB / 1.372 GB, free: 13.45 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/1.161, allocations: 8 kB / 1.372 GB, free: 13.45 MB / 0.8466 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.161, allocations: 4 kB / 1.372 GB, free: 13.44 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/1.161, allocations: 7.938 kB / 1.372 GB, free: 13.43 MB / 0.8466 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.161, allocations: 4 kB / 1.372 GB, free: 13.43 MB / 0.8466 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00059/1.162, allocations: 0.6318 MB / 1.372 GB, free: 12.67 MB / 0.8466 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006847/1.163, allocations: 1.004 MB / 1.373 GB, free: 11.54 MB / 0.8466 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.163, allocations: 136.4 kB / 1.373 GB, free: 11.38 MB / 0.8466 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/1.163, allocations: 4 kB / 1.373 GB, free: 11.38 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/1.163, allocations: 27.97 kB / 1.373 GB, free: 11.35 MB / 0.8466 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/1.163, allocations: 47.86 kB / 1.373 GB, free: 11.3 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/1.163, allocations: 12 kB / 1.373 GB, free: 11.29 MB / 0.8466 GB Notification: Performance of sort global known variables: time 0.0002598/1.164, allocations: 283 kB / 1.374 GB, free: 11.02 MB / 0.8466 GB Notification: Performance of remove unused functions: time 0.001029/1.165, allocations: 131.3 kB / 1.374 GB, free: 10.89 MB / 0.8466 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (damLim3.and3.y,damLim2.and3.y,damLim1.and3.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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.0001477/1.165, allocations: 123.1 kB / 1.374 GB, free: 10.76 MB / 0.8466 GB Notification: Performance of simCode: created initialization part: time 0.0004895/1.165, allocations: 321.5 kB / 1.374 GB, free: 10.45 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.165, allocations: 0 / 1.374 GB, free: 10.45 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/1.165, allocations: 167.7 kB / 1.374 GB, free: 10.28 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/1.166, allocations: 246.4 kB / 1.375 GB, free: 10.05 MB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/1.168, allocations: 0.7916 MB / 1.375 GB, free: 9.195 MB / 0.8466 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/1.168, allocations: 0.9913 MB / 1.376 GB, free: 8.176 MB / 0.8466 GB Notification: Performance of SimCode: time 2.61e-07/1.168, allocations: 3.938 kB / 1.376 GB, free: 8.172 MB / 0.8466 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.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_Disable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable_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_Disable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.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_Disable_res.mat does not exist to compare? outputFormat=mat