Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.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.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers",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.811/1.811, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0009384/0.0009384, allocations: 183.6 kB / 490.8 MB, free: 1.945 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.149/1.149, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 96.67 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4401/0.441, allocations: 149.2 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.6411, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5406/1.182, allocations: 153.3 MB / 1.361 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/1.182, allocations: 76.27 kB / 1.361 GB, free: 17.49 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.03407/1.216, allocations: 14.61 MB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.216, allocations: 8.781 kB / 1.376 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/1.216, allocations: 122.4 kB / 1.376 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/1.217, allocations: 0.5823 MB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/1.217, allocations: 40.44 kB / 1.376 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/1.217, allocations: 64.09 kB / 1.377 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001187/1.219, allocations: 0.6298 MB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/1.22, allocations: 0.7811 MB / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/1.22, allocations: 1.125 kB / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/1.22, allocations: 0 / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/1.22, allocations: 25.09 kB / 1.378 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/1.224, allocations: 2.445 MB / 1.38 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/1.225, allocations: 0.6687 MB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/1.225, allocations: 282.9 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/1.225, allocations: 12.28 kB / 1.381 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/1.226, allocations: 363.8 kB / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=77): time 2.124e-06/1.226, allocations: 0 / 1.382 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=77): time 0.0008687/1.227, allocations: 0.51 MB / 1.382 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.227, allocations: 136.5 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/1.227, allocations: 408.7 kB / 1.383 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/1.227, allocations: 34.52 kB / 1.383 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/1.227, allocations: 357.9 kB / 1.383 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/1.227, allocations: 211.5 kB / 1.383 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/1.227, allocations: 3.938 kB / 1.383 GB, free: 29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.228, allocations: 369.2 kB / 1.384 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/1.228, allocations: 194.8 kB / 1.384 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/1.228, allocations: 284.5 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/1.229, allocations: 190.2 kB / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.229, allocations: 0 / 1.384 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008298/1.229, allocations: 0.5342 MB / 1.385 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/1.23, allocations: 192 kB / 1.385 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.23, allocations: 1.312 kB / 1.385 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/1.23, allocations: 2.5 kB / 1.385 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/1.23, allocations: 159.4 kB / 1.385 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.23, allocations: 4 kB / 1.385 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/1.231, allocations: 109.1 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.283e-05/1.231, allocations: 19.22 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/1.231, allocations: 2.625 kB / 1.385 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007337/1.232, allocations: 454.7 kB / 1.386 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/1.232, allocations: 3.906 kB / 1.386 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.232, allocations: 3.938 kB / 1.386 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/1.232, allocations: 149.6 kB / 1.386 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1.232, allocations: 2.625 kB / 1.386 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.233, allocations: 100.5 kB / 1.386 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/1.233, allocations: 23.16 kB / 1.386 GB, free: 28.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,$PRE.dam.gre.greHys.y,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,$PRE.dam1.gre.greHys.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001356/1.233, allocations: 124.2 kB / 1.386 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/1.233, allocations: 61.19 kB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/1.234, allocations: 0.5704 MB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.234, allocations: 7.906 kB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.234, allocations: 0 / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/1.234, allocations: 7.891 kB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/1.236, allocations: 1.438 MB / 1.388 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.236, allocations: 1.312 kB / 1.388 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/1.236, allocations: 158.7 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.236, allocations: 3.688 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.677e-05/1.237, allocations: 9.891 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/1.237, allocations: 2.594 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.237, allocations: 1.281 kB / 1.388 GB, free: 27.12 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001377/1.238, allocations: 1.003 MB / 1.389 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001903/1.24, allocations: 1.702 MB / 1.391 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/1.24, allocations: 142.4 kB / 1.391 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.901e-05/1.24, allocations: 10.8 kB / 1.391 GB, free: 26.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/1.24, allocations: 83.88 kB / 1.391 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/1.241, allocations: 88.48 kB / 1.391 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-05/1.241, allocations: 19.34 kB / 1.391 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003188/1.241, allocations: 288.9 kB / 1.391 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001851/1.243, allocations: 316.4 kB / 1.392 GB, free: 25.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (dam1.conPID.I.y) * Number of discrete variables: 22 ($whenCondition1,dam.uZonSta,dam.oveFloSet,dam.oveDamPos,dam.gre.greHys.y,dam.actFlo.u2,dam.forZerFlo.y,dam.forMinFlo.y,dam.cooMax.u,dam.or3.y,dam.intEqu4.y,dam.cloDam.u,dam.or2.y,dam1.gre.greHys.y,dam1.actFlo.u2,dam1.forZerFlo.y,dam1.forMinFlo.y,dam1.cooMax.u,dam1.or3.y,dam1.intEqu4.y,dam1.cloDam.u,dam1.or2.y) * Number of discrete states: 2 (dam.gre.greHys.y,dam1.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 79 * 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.0001786/1.243, allocations: 140.3 kB / 1.392 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.244, allocations: 0.8298 MB / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.244, allocations: 3.062 kB / 1.393 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/1.245, allocations: 328.5 kB / 1.393 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/1.245, allocations: 73.72 kB / 1.393 GB, free: 25.54 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/1.247, allocations: 1.055 MB / 1.394 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/1.248, allocations: 1.087 MB / 1.395 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.248, allocations: 0 / 1.395 GB, free: 24.23 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_CoolingOnly_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.CoolingOnly.Subsequences.Validation.Dampers.pipe 2>&1)