Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",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.842/1.842, allocations: 390.4 MB / 397.7 MB, free: 10.63 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.001054/0.001054, allocations: 176.8 kB / 490.8 MB, free: 11.16 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.196/1.196, allocations: 221.4 MB / 0.7863 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000884/0.000884, allocations: 95.88 kB / 0.9264 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2637/0.2646, allocations: 149.1 MB / 1.072 GB, free: 15.44 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7497/1.014, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.008/5.023, allocations: 2.188 GB / 3.4 GB, free: 367.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/5.023, allocations: 84.45 kB / 3.4 GB, free: 367.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 3.027/8.049, allocations: 1.051 GB / 4.451 GB, free: 178.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/8.049, allocations: 15.27 kB / 4.451 GB, free: 178.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/8.053, allocations: 0.5386 MB / 4.451 GB, free: 178.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/8.058, allocations: 2.073 MB / 4.453 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00063/8.058, allocations: 190.1 kB / 4.454 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005836/8.059, allocations: 79.94 kB / 4.454 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002615/8.062, allocations: 1.371 MB / 4.455 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/8.064, allocations: 1.356 MB / 4.456 GB, free: 173.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/8.064, allocations: 7.844 kB / 4.456 GB, free: 173.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/8.064, allocations: 4 kB / 4.456 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/8.064, allocations: 45.98 kB / 4.456 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009784/8.074, allocations: 7.569 MB / 4.464 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/8.075, allocations: 1.206 MB / 4.465 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/8.076, allocations: 0.5791 MB / 4.465 GB, free: 163.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/8.077, allocations: 0.7104 MB / 4.466 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/8.077, allocations: 51.14 kB / 4.466 GB, free: 162.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 3.346e-06/8.077, allocations: 0 / 4.466 GB, free: 162.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.003198/8.08, allocations: 1.466 MB / 4.468 GB, free: 161.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/8.08, allocations: 115.4 kB / 4.468 GB, free: 161.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/8.082, allocations: 1.526 MB / 4.469 GB, free: 159.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/8.082, allocations: 32.92 kB / 4.469 GB, free: 159.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/8.082, allocations: 0.5011 MB / 4.47 GB, free: 159.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/8.082, allocations: 236.5 kB / 4.47 GB, free: 159 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/8.082, allocations: 0 / 4.47 GB, free: 159 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/8.082, allocations: 358.6 kB / 4.47 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/8.084, allocations: 1.147 MB / 4.471 GB, free: 157.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/8.085, allocations: 1.543 MB / 4.473 GB, free: 155.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/8.088, allocations: 1.243 MB / 4.474 GB, free: 154.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/8.088, allocations: 3.344 kB / 4.474 GB, free: 154.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004951/8.093, allocations: 2.794 MB / 4.477 GB, free: 151.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006178/8.093, allocations: 2.908 MB / 4.48 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/8.093, allocations: 8 kB / 4.48 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/8.093, allocations: 12 kB / 4.48 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/8.095, allocations: 406.9 kB / 4.48 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/8.095, allocations: 23.92 kB / 4.48 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/8.098, allocations: 258.9 kB / 4.48 GB, free: 148 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/8.098, allocations: 95.86 kB / 4.48 GB, free: 147.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/8.098, allocations: 7.438 kB / 4.48 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004554/8.103, allocations: 2.61 MB / 4.483 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/8.103, allocations: 9.188 kB / 4.483 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/8.103, allocations: 19.94 kB / 4.483 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/8.105, allocations: 406.6 kB / 4.483 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/8.105, allocations: 16.95 kB / 4.483 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/8.107, allocations: 228.3 kB / 4.484 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/8.107, allocations: 91.97 kB / 4.484 GB, free: 144.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 14 (vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 159 * Array equations: 1 * 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.0003862/8.107, allocations: 143.5 kB / 4.484 GB, free: 144.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/8.108, allocations: 150.1 kB / 4.484 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003676/8.112, allocations: 1.665 MB / 4.486 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/8.112, allocations: 8 kB / 4.486 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/8.112, allocations: 0 / 4.486 GB, free: 142.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/8.112, allocations: 15.52 kB / 4.486 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/8.118, allocations: 3.597 MB / 4.489 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/8.118, allocations: 0 / 4.489 GB, free: 139 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/8.119, allocations: 250.7 kB / 4.489 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/8.119, allocations: 4 kB / 4.489 GB, free: 138.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.139e-05/8.119, allocations: 23.97 kB / 4.489 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/8.119, allocations: 4 kB / 4.489 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/8.119, allocations: 7.938 kB / 4.489 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003849/8.123, allocations: 2.634 MB / 4.492 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005058/8.128, allocations: 4.031 MB / 4.496 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/8.129, allocations: 494.7 kB / 4.496 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/8.129, allocations: 5.812 kB / 4.496 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/8.13, allocations: 157.9 kB / 4.497 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/8.131, allocations: 56.42 kB / 4.497 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/8.131, allocations: 51.97 kB / 4.497 GB, free: 131.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001422/8.132, allocations: 1.129 MB / 4.498 GB, free: 130 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005973/8.138, allocations: 1.853 MB / 4.5 GB, free: 128.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003431/8.142, allocations: 2.716 MB / 4.502 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004322/8.146, allocations: 3.466 MB / 4.506 GB, free: 122.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/8.146, allocations: 4 kB / 4.506 GB, free: 122.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00065/8.147, allocations: 0.5713 MB / 4.506 GB, free: 121.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/8.149, allocations: 427.1 kB / 4.507 GB, free: 121.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/8.153, allocations: 2.331 MB / 4.509 GB, free: 119.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/8.155, allocations: 1.506 MB / 4.51 GB, free: 117.6 MB / 1.167 GB Notification: Performance of SimCode: time 6.92e-07/8.155, allocations: 0 / 4.51 GB, free: 117.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)