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_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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_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.821/1.821, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.0009668/0.0009667, allocations: 173.3 kB / 487 MB, free: 5.402 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.169/1.169, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.000843/0.000843, allocations: 96.56 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4548/0.4557, allocations: 148.6 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.6578, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5666/1.224, allocations: 150.4 MB / 1.352 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/1.225, allocations: 79.48 kB / 1.352 GB, free: 15.93 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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.02991/1.255, allocations: 13.14 MB / 1.365 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/1.255, allocations: 19.98 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/1.255, allocations: 114.6 kB / 1.365 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/1.256, allocations: 0.7219 MB / 1.366 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/1.256, allocations: 32 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/1.256, allocations: 56 kB / 1.366 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009489/1.257, allocations: 0.5613 MB / 1.367 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009441/1.258, allocations: 0.5988 MB / 1.367 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.258, allocations: 0 / 1.367 GB, free: 9.707 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/1.258, allocations: 3.906 kB / 1.367 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/1.258, allocations: 24 kB / 1.367 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/1.261, allocations: 2.086 MB / 1.369 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/1.262, allocations: 295.4 kB / 1.37 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/1.262, allocations: 155.5 kB / 1.37 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/1.262, allocations: 4.438 kB / 1.37 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/1.262, allocations: 42.81 kB / 1.37 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=47): time 1.773e-06/1.262, allocations: 0 / 1.37 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=47): time 0.0005234/1.263, allocations: 349.9 kB / 1.37 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/1.263, allocations: 63.78 kB / 1.37 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/1.263, allocations: 461.3 kB / 1.371 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.263, allocations: 33.33 kB / 1.371 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/1.263, allocations: 390.1 kB / 1.371 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/1.263, allocations: 152.1 kB / 1.371 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/1.263, allocations: 0 / 1.371 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/1.263, allocations: 370.1 kB / 1.372 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/1.264, allocations: 138.2 kB / 1.372 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/1.264, allocations: 271.5 kB / 1.372 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.264, allocations: 159.7 kB / 1.372 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.264, allocations: 0 / 1.372 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006165/1.265, allocations: 483.3 kB / 1.373 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.265, allocations: 7.938 kB / 1.373 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.265, allocations: 4 kB / 1.373 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.265, allocations: 4 kB / 1.373 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/1.265, allocations: 119.4 kB / 1.373 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.265, allocations: 12.06 kB / 1.373 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/1.266, allocations: 71.48 kB / 1.373 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/1.266, allocations: 22.56 kB / 1.373 GB, free: 5.211 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 (damLim1.and3.y,$PRE.damLim1.noZerMin.greHys.y,damLim1.noZerMin.greHys.y,damLim2.and3.y,$PRE.damLim2.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,damLim3.and3.y,$PRE.damLim3.noZerMin.greHys.y,damLim3.noZerMin.greHys.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 (74): * Single equations (assignments): 74 * 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 8.664e-05/1.266, allocations: 116.9 kB / 1.373 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/1.266, allocations: 74.45 kB / 1.373 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/1.266, allocations: 403.7 kB / 1.373 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/1.266, allocations: 4 kB / 1.373 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.267, allocations: 0 / 1.373 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/1.267, allocations: 3.984 kB / 1.373 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.268, allocations: 1.417 MB / 1.375 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.268, allocations: 8 kB / 1.375 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/1.268, allocations: 91.39 kB / 1.375 GB, free: 3.434 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.268, allocations: 7.984 kB / 1.375 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/1.268, allocations: 4 kB / 1.375 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/1.268, allocations: 11.94 kB / 1.375 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.268, allocations: 4 kB / 1.375 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004717/1.269, allocations: 0.677 MB / 1.375 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004979/1.269, allocations: 1.055 MB / 1.377 GB, free: 1.641 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.89e-05/1.269, allocations: 138.6 kB / 1.377 GB, free: 1.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/1.27, allocations: 11.25 kB / 1.377 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/1.27, allocations: 35.88 kB / 1.377 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.27, allocations: 70 kB / 1.377 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.27, allocations: 15.75 kB / 1.377 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.000257/1.27, allocations: 322.8 kB / 1.377 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001056/1.271, allocations: 155.1 kB / 1.377 GB, free: 0.9961 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,damLim3.noZerMin.greHys.y,damLim3.and3.y,damLim2.and3.y,damLim1.and3.y) * Number of discrete states: 3 (damLim3.noZerMin.greHys.y,damLim2.noZerMin.greHys.y,damLim1.noZerMin.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.0001251/1.272, allocations: 122.2 kB / 1.377 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005006/1.272, allocations: 379.4 kB / 1.378 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.272, allocations: 0 / 1.378 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/1.272, allocations: 188.4 kB / 1.378 GB, free: 0.4961 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/1.273, allocations: 261.3 kB / 1.378 GB, free: 268 kB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.275, allocations: 0.9179 MB / 1.379 GB, free: 15.38 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/1.276, allocations: 1.045 MB / 1.38 GB, free: 14.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.276, allocations: 0 / 1.38 GB, free: 14.3 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_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_AHUs_SingleZone_VAV_Economizers_Subsequences_Validation_Limits_Disable.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.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.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Limits_Disable_res.mat does not exist to compare? outputFormat=mat