Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_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 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.122/2.122, allocations: 284.8 MB / 292.1 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 177.3 kB / 360.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 0.6187 GB, free: 13.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001225/0.001224, allocations: 90.39 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2489/0.2502, allocations: 121.5 MB / 0.8503 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.818, allocations: 115.2 MB / 0.9628 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/1.033, allocations: 140.2 MB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/1.033, allocations: 76.45 kB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.07673/1.11, allocations: 19.75 MB / 1.119 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.11, allocations: 8.5 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000403/1.111, allocations: 162 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/1.113, allocations: 0.8133 MB / 1.12 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/1.113, allocations: 47.94 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.113, allocations: 80 kB / 1.12 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002754/1.116, allocations: 0.7824 MB / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/1.119, allocations: 1.002 MB / 1.122 GB, free: 9.891 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/1.119, allocations: 7.938 kB / 1.122 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.119, allocations: 5.438 kB / 1.122 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/1.12, allocations: 32 kB / 1.122 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/1.13, allocations: 3.519 MB / 1.125 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/1.132, allocations: 0.7404 MB / 1.126 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/1.133, allocations: 328.9 kB / 1.126 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-05/1.133, allocations: 11.94 kB / 1.126 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/1.134, allocations: 432.2 kB / 1.127 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=81): time 3.126e-06/1.134, allocations: 4 kB / 1.127 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.001886/1.136, allocations: 0.595 MB / 1.127 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/1.137, allocations: 350.1 kB / 1.128 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.138, allocations: 0.5934 MB / 1.128 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/1.138, allocations: 29.7 kB / 1.128 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/1.139, allocations: 467.4 kB / 1.129 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/1.139, allocations: 252.2 kB / 1.129 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/1.139, allocations: 1.031 kB / 1.129 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.139, allocations: 334.1 kB / 1.129 GB, free: 2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007378/1.14, allocations: 221.6 kB / 1.13 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009242/1.141, allocations: 400.8 kB / 1.13 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007628/1.142, allocations: 260.6 kB / 1.13 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/1.142, allocations: 4 kB / 1.13 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001997/1.144, allocations: 0.6726 MB / 1.131 GB, free: 400 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004524/1.144, allocations: 0.79 MB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.144, allocations: 4 kB / 1.132 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.144, allocations: 4 kB / 1.132 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/1.146, allocations: 187.7 kB / 1.132 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/1.146, allocations: 10.89 kB / 1.132 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.147, allocations: 135.5 kB / 1.132 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/1.147, allocations: 27.98 kB / 1.132 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.147, allocations: 7.906 kB / 1.132 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/1.149, allocations: 0.5315 MB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.149, allocations: 4 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.149, allocations: 8.969 kB / 1.133 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.15, allocations: 164 kB / 1.133 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.15, allocations: 4 kB / 1.133 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.151, allocations: 115.5 kB / 1.133 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/1.151, allocations: 24 kB / 1.133 GB, free: 14.33 MB / 0.7448 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 (96): * Single equations (assignments): 96 * 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.0002432/1.151, allocations: 128.8 kB / 1.133 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/1.152, allocations: 86.88 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/1.154, allocations: 0.6884 MB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.154, allocations: 10.44 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.154, allocations: 0 / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.154, allocations: 3.984 kB / 1.134 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/1.159, allocations: 2.258 MB / 1.136 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/1.159, allocations: 4 kB / 1.136 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.161, allocations: 191.9 kB / 1.136 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/1.161, allocations: 12 kB / 1.136 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.578e-05/1.161, allocations: 8 kB / 1.136 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-05/1.161, allocations: 19.88 kB / 1.136 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.161, allocations: 8 kB / 1.136 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003445/1.164, allocations: 1.732 MB / 1.138 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004482/1.169, allocations: 2.483 MB / 1.14 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/1.169, allocations: 188.6 kB / 1.141 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.169, allocations: 11.98 kB / 1.141 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.171, allocations: 91.92 kB / 1.141 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/1.171, allocations: 75.77 kB / 1.141 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/1.171, allocations: 35.98 kB / 1.141 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0009673/1.172, allocations: 427.2 kB / 1.141 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003325/1.175, allocations: 405.6 kB / 1.142 GB, free: 4.848 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (87): * Single equations (assignments): 87 * 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.0002766/1.175, allocations: 144.9 kB / 1.142 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.178, allocations: 0.9406 MB / 1.143 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.178, allocations: 4 kB / 1.143 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/1.179, allocations: 358.3 kB / 1.143 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.182, allocations: 320.8 kB / 1.143 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/1.187, allocations: 1.56 MB / 1.145 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/1.189, allocations: 1.227 MB / 1.146 GB, free: 172 kB / 0.7448 GB Notification: Performance of SimCode: time 1.233e-06/1.189, allocations: 0 / 1.146 GB, free: 172 kB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe >> ../files/Buildings_8.0.0_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_8_0_0_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_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Limits_LoopDisable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.pipe 2>&1)