Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.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.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_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.76/1.76, allocations: 390.4 MB / 397.7 MB, free: 10.72 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.0009541/0.000954, allocations: 179 kB / 490.8 MB, free: 13.29 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.12/1.12, allocations: 221.4 MB / 0.7863 GB, free: 2.676 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008353/0.0008353, allocations: 91.69 kB / 0.9264 GB, free: 40 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2313/0.2322, allocations: 149.2 MB / 1.072 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5105/0.7428, allocations: 143 MB / 1.212 GB, free: 63.52 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.9005, allocations: 154 MB / 1.362 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.9008, allocations: 71.95 kB / 1.362 GB, free: 2.797 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.0533/0.9541, allocations: 22.82 MB / 1.384 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.9542, allocations: 8 kB / 1.384 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003492/0.9545, allocations: 185.8 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.9562, allocations: 0.9382 MB / 1.386 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.381e-05/0.9563, allocations: 48 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.9564, allocations: 92 kB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001508/0.958, allocations: 0.8414 MB / 1.387 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.9597, allocations: 1.073 MB / 1.388 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.9597, allocations: 0 / 1.388 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.9598, allocations: 4 kB / 1.388 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.9598, allocations: 32 kB / 1.388 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005338/0.9652, allocations: 3.486 MB / 1.391 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.9666, allocations: 0.8591 MB / 1.392 GB, free: 4.164 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.9672, allocations: 335.2 kB / 1.392 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.775e-05/0.9672, allocations: 12.77 kB / 1.392 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006201/0.9679, allocations: 462.5 kB / 1.393 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=96): time 2.194e-06/0.9679, allocations: 0 / 1.393 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of matching and sorting (n=96): time 0.001062/0.969, allocations: 0.6422 MB / 1.393 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.969, allocations: 222.4 kB / 1.393 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.9697, allocations: 0.5603 MB / 1.394 GB, free: 1.867 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.9698, allocations: 41.7 kB / 1.394 GB, free: 1.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.9701, allocations: 491.4 kB / 1.395 GB, free: 1.332 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.9703, allocations: 279.9 kB / 1.395 GB, free: 1.055 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.9703, allocations: 4 kB / 1.395 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.9704, allocations: 349.8 kB / 1.395 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.9709, allocations: 314 kB / 1.395 GB, free: 408 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006459/0.9716, allocations: 499.5 kB / 1.396 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.9723, allocations: 322.7 kB / 1.396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.9723, allocations: 4 kB / 1.396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001548/0.9739, allocations: 0.8616 MB / 1.397 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.974, allocations: 462.6 kB / 1.398 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.974, allocations: 0 / 1.398 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.9741, allocations: 12 kB / 1.398 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.9748, allocations: 179.8 kB / 1.398 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.9748, allocations: 7.938 kB / 1.398 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.9757, allocations: 199.3 kB / 1.398 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.9758, allocations: 39.89 kB / 1.398 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.9758, allocations: 4 kB / 1.398 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001376/0.9772, allocations: 0.7321 MB / 1.399 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9772, allocations: 8.125 kB / 1.399 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.9772, allocations: 4 kB / 1.399 GB, free: 13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.9778, allocations: 159.7 kB / 1.399 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.9779, allocations: 4 kB / 1.399 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000826/0.9787, allocations: 191.3 kB / 1.399 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-05/0.9788, allocations: 39.98 kB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,dam.and4.y,$PRE.dam.greThr1.greHys.y,dam.greThr1.greHys.y,$PRE.dam.greThr.greHys.y,dam.greThr.greHys.y,$PRE.dam.greThr2.greHys.y,dam.greThr2.greHys.y,dam.not1.y,$PRE.dam.greThr3.greHys.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,$PRE.dam1.greThr1.greHys.y,dam1.greThr1.greHys.y,$PRE.dam1.greThr.greHys.y,dam1.greThr.greHys.y,$PRE.dam1.greThr2.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,$PRE.dam1.greThr3.greHys.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,$PRE.cooAhu.y,cooAhu.y,$PRE.heaAhu.y,heaAhu.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * 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.0001729/0.979, allocations: 149.4 kB / 1.399 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.9791, allocations: 90.88 kB / 1.399 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.9802, allocations: 0.7242 MB / 1.4 GB, free: 11.64 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.9802, allocations: 8 kB / 1.4 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9802, allocations: 0 / 1.4 GB, free: 11.63 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9803, allocations: 7.891 kB / 1.4 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.9827, allocations: 1.879 MB / 1.402 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.9827, allocations: 0 / 1.402 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.9834, allocations: 171.8 kB / 1.402 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.9834, allocations: 4 kB / 1.402 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.9835, allocations: 11.89 kB / 1.402 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.9835, allocations: 12 kB / 1.402 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9835, allocations: 0 / 1.402 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001691/0.9852, allocations: 1.247 MB / 1.403 GB, free: 8.191 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002185/0.9874, allocations: 2.032 MB / 1.405 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.9875, allocations: 175.8 kB / 1.405 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9877, allocations: 12 kB / 1.405 GB, free: 5.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005792/0.9882, allocations: 83.89 kB / 1.405 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.9885, allocations: 112.6 kB / 1.406 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.9885, allocations: 27.98 kB / 1.406 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0004351/0.989, allocations: 415.2 kB / 1.406 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002211/0.9912, allocations: 469.5 kB / 1.406 GB, free: 4.816 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dam1.conCooDam.I.y) * Number of discrete variables: 23 ($whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,dam.and4.y,dam.greThr1.greHys.y,dam.greThr.greHys.y,dam.greThr2.greHys.y,dam.not1.y,dam.greThr3.greHys.y,dam.and1.y,dam.booToRea1.u,dam1.and4.y,dam1.greThr1.greHys.y,dam1.greThr.greHys.y,dam1.greThr2.greHys.y,dam1.not1.y,dam1.greThr3.greHys.y,dam1.and1.y,dam1.booToRea1.u,cooAhu.y,heaAhu.y) * Number of discrete states: 8 (dam.greThr.greHys.y,dam.greThr3.greHys.y,dam1.greThr.greHys.y,dam1.greThr3.greHys.y,dam1.greThr1.greHys.y,dam.greThr1.greHys.y,dam1.greThr2.greHys.y,dam.greThr2.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002416/0.9914, allocations: 152.5 kB / 1.407 GB, free: 4.656 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.9934, allocations: 1.346 MB / 1.408 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9934, allocations: 4.188 kB / 1.408 GB, free: 3.281 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.994, allocations: 382.7 kB / 1.408 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.9947, allocations: 147 kB / 1.408 GB, free: 2.766 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.9977, allocations: 1.488 MB / 1.41 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.9987, allocations: 1.247 MB / 1.411 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.9987, allocations: 0 / 1.411 GB, free: 15.94 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_DualDuctMixConDischargeSensor_Subsequences_Validation_Dampers.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.DualDuctMixConDischargeSensor.Subsequences.Validation.Dampers.pipe 2>&1)