Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_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 7.0.3-maint.7.0.x/package.mo): time 1.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 181.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 87.39 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3532/0.3541, allocations: 112.6 MB / 0.7809 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.5271, allocations: 106.3 MB / 0.8848 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/1.017, allocations: 136.9 MB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/1.017, allocations: 85.91 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.05092/1.068, allocations: 22.97 MB / 1.041 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.068, allocations: 12 kB / 1.041 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/1.068, allocations: 173.8 kB / 1.041 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/1.07, allocations: 0.8638 MB / 1.042 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.424e-05/1.07, allocations: 44 kB / 1.042 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.07, allocations: 79.91 kB / 1.042 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/1.071, allocations: 0.8371 MB / 1.043 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/1.073, allocations: 1.047 MB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/1.073, allocations: 0 / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/1.073, allocations: 0 / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.073, allocations: 36 kB / 1.044 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005255/1.078, allocations: 3.69 MB / 1.048 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.08, allocations: 0.7346 MB / 1.048 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/1.08, allocations: 346.8 kB / 1.049 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-05/1.08, allocations: 9.875 kB / 1.049 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005669/1.081, allocations: 444.8 kB / 1.049 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=84): time 2.715e-06/1.081, allocations: 0 / 1.049 GB, free: 8.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84): time 0.0009924/1.082, allocations: 0.6214 MB / 1.05 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/1.082, allocations: 344.5 kB / 1.05 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/1.083, allocations: 0.6284 MB / 1.051 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/1.083, allocations: 25.7 kB / 1.051 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.083, allocations: 0.4905 MB / 1.051 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.083, allocations: 260.3 kB / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/1.083, allocations: 0 / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.083, allocations: 336.2 kB / 1.052 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/1.084, allocations: 232.6 kB / 1.052 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/1.084, allocations: 418.1 kB / 1.052 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/1.085, allocations: 270.9 kB / 1.053 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/1.085, allocations: 0 / 1.053 GB, free: 5.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0011/1.086, allocations: 0.7113 MB / 1.053 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000305/1.086, allocations: 0.7909 MB / 1.054 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.086, allocations: 3.938 kB / 1.054 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.086, allocations: 15.94 kB / 1.054 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/1.087, allocations: 190.2 kB / 1.054 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.087, allocations: 8 kB / 1.054 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/1.088, allocations: 147.1 kB / 1.054 GB, free: 3.477 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/1.088, allocations: 23.31 kB / 1.054 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/1.088, allocations: 4 kB / 1.054 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008691/1.089, allocations: 0.5672 MB / 1.055 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/1.089, allocations: 0 / 1.055 GB, free: 3.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.089, allocations: 16.09 kB / 1.055 GB, free: 3.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/1.089, allocations: 166.4 kB / 1.055 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/1.089, allocations: 12 kB / 1.055 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/1.09, allocations: 111.5 kB / 1.055 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/1.09, allocations: 27.25 kB / 1.055 GB, free: 2.766 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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 0.0001694/1.09, allocations: 128.6 kB / 1.055 GB, free: 2.633 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.09, allocations: 90.88 kB / 1.055 GB, free: 2.543 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/1.091, allocations: 0.7198 MB / 1.056 GB, free: 2.051 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.091, allocations: 8 kB / 1.056 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.091, allocations: 3.938 kB / 1.056 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.091, allocations: 11.97 kB / 1.056 GB, free: 2.027 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/1.094, allocations: 2.382 MB / 1.059 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.094, allocations: 8 kB / 1.059 GB, free: 204 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/1.095, allocations: 189.5 kB / 1.059 GB, free: 20 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/1.095, allocations: 15.98 kB / 1.059 GB, free: 4 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/1.095, allocations: 15.8 kB / 1.059 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/1.095, allocations: 15.94 kB / 1.059 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/1.095, allocations: 7.938 kB / 1.059 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/1.097, allocations: 1.849 MB / 1.061 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00235/1.099, allocations: 2.574 MB / 1.063 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/1.1, allocations: 272.4 kB / 1.063 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.1, allocations: 19.89 kB / 1.063 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/1.101, allocations: 91.92 kB / 1.063 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.101, allocations: 76.27 kB / 1.064 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/1.101, allocations: 35.42 kB / 1.064 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005885/1.101, allocations: 460.5 kB / 1.064 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00232/1.104, allocations: 429.5 kB / 1.064 GB, free: 10.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 90 * 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.000195/1.104, allocations: 130.4 kB / 1.065 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00153/1.106, allocations: 0.9906 MB / 1.066 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.106, allocations: 4.688 kB / 1.066 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000597/1.106, allocations: 375.8 kB / 1.066 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.108, allocations: 330.9 kB / 1.066 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/1.111, allocations: 1.64 MB / 1.068 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/1.112, allocations: 1.263 MB / 1.069 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/1.112, allocations: 0 / 1.069 GB, free: 6.719 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)