Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.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.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_8_0_0_Buildings_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 8.0.0/package.mo): time 2.146/2.146, 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.001597/0.001597, allocations: 193.2 kB / 360.3 MB, free: 7.527 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.697/1.697, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.0012/0.001199, allocations: 93.64 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2492/0.2504, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.8177, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/1.034, allocations: 143.1 MB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/1.035, allocations: 76.7 kB / 1.103 GB, free: 13.68 MB / 0.7136 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.06722/1.102, allocations: 16.94 MB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.102, allocations: 12.5 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003947/1.102, allocations: 130.5 kB / 1.119 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/1.104, allocations: 0.5998 MB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.834e-05/1.104, allocations: 44 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.104, allocations: 75.98 kB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002477/1.107, allocations: 0.6962 MB / 1.121 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/1.11, allocations: 0.9483 MB / 1.122 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.11, allocations: 3.938 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.11, allocations: 4 kB / 1.122 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/1.11, allocations: 28 kB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/1.118, allocations: 3.448 MB / 1.125 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/1.121, allocations: 0.6845 MB / 1.126 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.122, allocations: 307.3 kB / 1.126 GB, free: 5.617 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/1.122, allocations: 8.656 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001981/1.124, allocations: 454.3 kB / 1.126 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 5.48e-06/1.124, allocations: 0 / 1.126 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.002975/1.127, allocations: 0.6046 MB / 1.127 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.127, allocations: 192.6 kB / 1.127 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.129, allocations: 465.7 kB / 1.128 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000225/1.129, allocations: 45.7 kB / 1.128 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.129, allocations: 401.3 kB / 1.128 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/1.13, allocations: 224.8 kB / 1.128 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/1.13, allocations: 0 / 1.128 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002743/1.13, allocations: 382.7 kB / 1.129 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/1.131, allocations: 246 kB / 1.129 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/1.133, allocations: 496.2 kB / 1.129 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/1.134, allocations: 264.4 kB / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.134, allocations: 0 / 1.13 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002943/1.137, allocations: 0.7383 MB / 1.13 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/1.138, allocations: 1.923 MB / 1.132 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.138, allocations: 7.984 kB / 1.132 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/1.138, allocations: 15.94 kB / 1.132 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.139, allocations: 159.7 kB / 1.132 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/1.139, allocations: 14.19 kB / 1.132 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/1.141, allocations: 135.4 kB / 1.132 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.141, allocations: 32 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.141, allocations: 4 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002028/1.143, allocations: 0.6219 MB / 1.133 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.143, allocations: 9.344 kB / 1.133 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.143, allocations: 12 kB / 1.133 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.144, allocations: 156.2 kB / 1.133 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.89e-05/1.144, allocations: 15.94 kB / 1.133 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/1.145, allocations: 119.5 kB / 1.133 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/1.146, allocations: 35.91 kB / 1.133 GB, free: 13.56 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($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,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 (121): * Single equations (assignments): 121 * 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.0003779/1.146, allocations: 167.2 kB / 1.134 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.146, allocations: 83.12 kB / 1.134 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/1.148, allocations: 0.668 MB / 1.134 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.148, allocations: 16 kB / 1.134 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.148, allocations: 0 / 1.134 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.148, allocations: 5.578 kB / 1.134 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/1.153, allocations: 1.798 MB / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.153, allocations: 0 / 1.136 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.154, allocations: 115.9 kB / 1.136 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/1.154, allocations: 4 kB / 1.136 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.551e-05/1.154, allocations: 19.97 kB / 1.136 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/1.154, allocations: 4 kB / 1.136 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.154, allocations: 3.938 kB / 1.136 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003331/1.157, allocations: 1.207 MB / 1.137 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00434/1.162, allocations: 1.965 MB / 1.139 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/1.162, allocations: 152.1 kB / 1.14 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.162, allocations: 15.98 kB / 1.14 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.163, allocations: 87.92 kB / 1.14 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/1.164, allocations: 96.41 kB / 1.14 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.164, allocations: 38.09 kB / 1.14 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.000606/1.164, allocations: 319 kB / 1.14 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003148/1.168, allocations: 338.5 kB / 1.14 GB, free: 6.266 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (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: 10 (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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003985/1.168, allocations: 153.4 kB / 1.141 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003076/1.171, allocations: 1.084 MB / 1.142 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.171, allocations: 4 kB / 1.142 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.172, allocations: 400.5 kB / 1.142 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/1.173, allocations: 90.33 kB / 1.142 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/1.177, allocations: 1.204 MB / 1.143 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.179, allocations: 1.113 MB / 1.144 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/1.179, allocations: 0 / 1.144 GB, free: 2.152 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves.fmu > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves.pipe 2>&1)