Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",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.949/1.949, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001071/0.001071, allocations: 178.2 kB / 490.8 MB, free: 1.91 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.309/1.309, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0009709/0.0009711, allocations: 88.78 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5262/0.5272, allocations: 149.2 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.7752, allocations: 143 MB / 1.212 GB, free: 39.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6544/1.43, allocations: 157.2 MB / 1.365 GB, free: 17.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.43, allocations: 84.5 kB / 1.365 GB, free: 17.1 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.04429/1.474, allocations: 16.94 MB / 1.382 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.474, allocations: 9.375 kB / 1.382 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/1.475, allocations: 133.5 kB / 1.382 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/1.476, allocations: 0.5783 MB / 1.383 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.476, allocations: 47.48 kB / 1.383 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/1.477, allocations: 77.61 kB / 1.383 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001861/1.479, allocations: 0.6828 MB / 1.383 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.481, allocations: 0.9391 MB / 1.384 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.481, allocations: 0 / 1.384 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/1.481, allocations: 7.984 kB / 1.384 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/1.481, allocations: 26 kB / 1.384 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/1.486, allocations: 3.397 MB / 1.388 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/1.488, allocations: 0.695 MB / 1.388 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006163/1.489, allocations: 334.3 kB / 1.389 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/1.489, allocations: 17.58 kB / 1.389 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/1.489, allocations: 463.6 kB / 1.389 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=84): time 3.607e-06/1.489, allocations: 5.188 kB / 1.389 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84): time 0.00146/1.491, allocations: 0.6031 MB / 1.39 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/1.491, allocations: 253.8 kB / 1.39 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/1.492, allocations: 426.4 kB / 1.39 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.492, allocations: 49.94 kB / 1.39 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/1.492, allocations: 387.5 kB / 1.391 GB, free: 25.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.492, allocations: 218 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/1.492, allocations: 4 kB / 1.391 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.492, allocations: 389.4 kB / 1.391 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/1.493, allocations: 239.9 kB / 1.392 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.494, allocations: 491.4 kB / 1.392 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/1.494, allocations: 265.4 kB / 1.392 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.494, allocations: 1.031 kB / 1.392 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001331/1.495, allocations: 0.726 MB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006411/1.496, allocations: 1.924 MB / 1.395 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.496, allocations: 5.062 kB / 1.395 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.813e-05/1.496, allocations: 10.78 kB / 1.395 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/1.497, allocations: 165.8 kB / 1.395 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/1.497, allocations: 13.56 kB / 1.395 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007175/1.498, allocations: 132.6 kB / 1.395 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.498, allocations: 38.17 kB / 1.395 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.498, allocations: 4.469 kB / 1.395 GB, free: 22.79 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001102/1.499, allocations: 0.6151 MB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.499, allocations: 4.375 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.499, allocations: 14.67 kB / 1.396 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/1.499, allocations: 157.7 kB / 1.396 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.499, allocations: 9.344 kB / 1.396 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000626/1.5, allocations: 122.7 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.65e-05/1.5, allocations: 37.22 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,$PRE.damVal.truHol2.toOutputTrue.t_start,damVal.truHol2.toOutputTrue.t_start,$PRE.damVal.truHol2.toInitial.t_start,damVal.truHol2.toInitial.t_start,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0002584/1.5, allocations: 175.2 kB / 1.396 GB, free: 22.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.501, allocations: 77.8 kB / 1.396 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/1.502, allocations: 0.6539 MB / 1.397 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.502, allocations: 14 kB / 1.397 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.502, allocations: 5.031 kB / 1.397 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/1.502, allocations: 5.109 kB / 1.397 GB, free: 22.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/1.505, allocations: 1.769 MB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.505, allocations: 2.125 kB / 1.399 GB, free: 21.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/1.505, allocations: 120.9 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.505, allocations: 5.562 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-05/1.505, allocations: 13.98 kB / 1.399 GB, free: 21.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/1.505, allocations: 9.031 kB / 1.399 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.505, allocations: 6.562 kB / 1.399 GB, free: 21.49 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001661/1.507, allocations: 1.234 MB / 1.4 GB, free: 21.06 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002558/1.509, allocations: 1.978 MB / 1.402 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/1.51, allocations: 155.5 kB / 1.402 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.51, allocations: 13.88 kB / 1.402 GB, free: 20.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/1.51, allocations: 87.66 kB / 1.402 GB, free: 20.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002014/1.51, allocations: 101.5 kB / 1.402 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.737e-05/1.511, allocations: 37.02 kB / 1.402 GB, free: 20.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003475/1.511, allocations: 297 kB / 1.403 GB, free: 19.92 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002521/1.513, allocations: 341.9 kB / 1.403 GB, free: 19.84 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 43 (damVal.truHol2.toInitial.t_start,damVal.truHol2.toOutputTrue.t_start,damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 12 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y,damVal.truHol2.toOutputTrue.t_start,damVal.truHol2.toInitial.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002396/1.514, allocations: 156.9 kB / 1.403 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001948/1.516, allocations: 1.08 MB / 1.404 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.516, allocations: 0.6562 kB / 1.404 GB, free: 19.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006738/1.516, allocations: 399.1 kB / 1.405 GB, free: 19.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/1.517, allocations: 92.67 kB / 1.405 GB, free: 19.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/1.52, allocations: 1.192 MB / 1.406 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.521, allocations: 1.11 MB / 1.407 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of SimCode: time 1.012e-06/1.521, allocations: 0 / 1.407 GB, free: 18.21 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)