Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable",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 10.0.0-master/package.mo): time 1.757/1.757, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009409/0.0009407, allocations: 185.1 kB / 490.8 MB, free: 11.24 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.117/1.117, allocations: 221.4 MB / 0.7863 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009546/0.0009545, allocations: 99.17 kB / 0.9264 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2374/0.2384, allocations: 149.3 MB / 1.072 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.7555, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.8964, allocations: 152.2 MB / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.8966, allocations: 80.92 kB / 1.361 GB, free: 39.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.02362/0.9203, allocations: 12.35 MB / 1.373 GB, free: 27.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.9203, allocations: 12 kB / 1.373 GB, free: 27.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.9205, allocations: 102.8 kB / 1.373 GB, free: 26.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.9213, allocations: 0.588 MB / 1.373 GB, free: 26.34 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.9213, allocations: 24 kB / 1.373 GB, free: 26.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.531e-05/0.9214, allocations: 51.94 kB / 1.373 GB, free: 26.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007584/0.9222, allocations: 496 kB / 1.374 GB, free: 25.78 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008676/0.9231, allocations: 0.6317 MB / 1.374 GB, free: 25.13 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.9231, allocations: 0 / 1.374 GB, free: 25.13 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.9231, allocations: 0 / 1.374 GB, free: 25.13 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.9232, allocations: 24.92 kB / 1.374 GB, free: 25.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.9258, allocations: 2.239 MB / 1.377 GB, free: 22.82 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.9265, allocations: 475.9 kB / 1.377 GB, free: 22.34 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.9268, allocations: 221.7 kB / 1.377 GB, free: 22.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.9269, allocations: 8 kB / 1.377 GB, free: 22.11 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003175/0.9272, allocations: 282.1 kB / 1.378 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 1.793e-06/0.9272, allocations: 3.938 kB / 1.378 GB, free: 21.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.0005714/0.9278, allocations: 398.3 kB / 1.378 GB, free: 21.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.9278, allocations: 239.3 kB / 1.378 GB, free: 21.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.9282, allocations: 400.7 kB / 1.379 GB, free: 20.73 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.9282, allocations: 25.7 kB / 1.379 GB, free: 20.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.9283, allocations: 312.1 kB / 1.379 GB, free: 20.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.9284, allocations: 165.5 kB / 1.379 GB, free: 20.22 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.9284, allocations: 0 / 1.379 GB, free: 20.22 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/0.9285, allocations: 358.8 kB / 1.379 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.9287, allocations: 137 kB / 1.38 GB, free: 19.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.929, allocations: 252.4 kB / 1.38 GB, free: 19.43 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.9292, allocations: 159.5 kB / 1.38 GB, free: 19.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.9292, allocations: 0 / 1.38 GB, free: 19.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005512/0.9297, allocations: 442 kB / 1.38 GB, free: 18.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.599e-05/0.9298, allocations: 0.5293 MB / 1.381 GB, free: 18.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9298, allocations: 4 kB / 1.381 GB, free: 18.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.9299, allocations: 11.84 kB / 1.381 GB, free: 18.26 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.9303, allocations: 123.8 kB / 1.381 GB, free: 18.14 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.9304, allocations: 4 kB / 1.381 GB, free: 18.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.9307, allocations: 87.62 kB / 1.381 GB, free: 18.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.9308, allocations: 17.25 kB / 1.381 GB, free: 18.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.9308, allocations: 4 kB / 1.381 GB, free: 18.03 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000452/0.9312, allocations: 340.2 kB / 1.381 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.9312, allocations: 0 / 1.381 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.9312, allocations: 4 kB / 1.381 GB, free: 17.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.9316, allocations: 112 kB / 1.382 GB, free: 17.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.9317, allocations: 3.938 kB / 1.382 GB, free: 17.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.932, allocations: 71.56 kB / 1.382 GB, free: 17.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.932, allocations: 16 kB / 1.382 GB, free: 17.49 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,damLim1.yEnaMinOut,damLim1.and3.u2,damLim.yEnaMinOut,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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.791e-05/0.9321, allocations: 120.9 kB / 1.382 GB, free: 17.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.9322, allocations: 55.34 kB / 1.382 GB, free: 17.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006388/0.9328, allocations: 457.9 kB / 1.382 GB, free: 16.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.9328, allocations: 8 kB / 1.382 GB, free: 16.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.9328, allocations: 1.875 kB / 1.382 GB, free: 16.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9328, allocations: 3.984 kB / 1.382 GB, free: 16.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.9341, allocations: 1.394 MB / 1.384 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9341, allocations: 4 kB / 1.384 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004723/0.9346, allocations: 124.2 kB / 1.384 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.9346, allocations: 8 kB / 1.384 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.9347, allocations: 8 kB / 1.384 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.9347, allocations: 11.98 kB / 1.384 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.9347, allocations: 7.938 kB / 1.384 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008706/0.9356, allocations: 1.085 MB / 1.385 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001143/0.9367, allocations: 1.7 MB / 1.386 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.9368, allocations: 148.3 kB / 1.387 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.9369, allocations: 4 kB / 1.387 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.9373, allocations: 65.7 kB / 1.387 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.9374, allocations: 43.84 kB / 1.387 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.9374, allocations: 20 kB / 1.387 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002288/0.9377, allocations: 287.2 kB / 1.387 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001678/0.9394, allocations: 266.5 kB / 1.387 GB, free: 11.28 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,damLim.yEnaMinOut,damLim1.yEnaMinOut) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.0001271/0.9395, allocations: 119.1 kB / 1.387 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007313/0.9402, allocations: 0.5839 MB / 1.388 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9402, allocations: 0 / 1.388 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.9405, allocations: 220.9 kB / 1.388 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.9414, allocations: 208.9 kB / 1.388 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.943, allocations: 0.9724 MB / 1.389 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.9435, allocations: 1.035 MB / 1.39 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of SimCode: time 3.11e-07/0.9435, allocations: 0 / 1.39 GB, free: 8.051 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_Economizers_Subsequences_Limits_Validation_Common_LoopDisable.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.Economizers.Subsequences.Limits.Validation.Common_LoopDisable.pipe 2>&1)