Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.331/1.331, allocations: 285.5 MB / 292.8 MB, free: 0.6836 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 179.6 kB / 361.1 MB, free: 15.26 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.144/1.144, allocations: 205.1 MB / 0.6195 GB, free: 5.844 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 93.92 kB / 0.7326 GB, free: 47.46 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2094/0.2103, allocations: 121.4 MB / 0.8512 GB, free: 12.67 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5276/0.738, allocations: 115.3 MB / 0.9637 GB, free: 85.59 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.993/4.731, allocations: 2.359 GB / 3.323 GB, free: 130.1 MB / 0.9403 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/4.732, allocations: 94.56 kB / 3.323 GB, free: 130 MB / 0.9403 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 2.974/7.706, allocations: 1.041 GB / 4.363 GB, free: 134.8 MB / 0.9559 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/7.706, allocations: 11.14 kB / 4.363 GB, free: 134.8 MB / 0.9559 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/7.709, allocations: 0.5862 MB / 4.364 GB, free: 134.6 MB / 0.9559 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/7.712, allocations: 2.053 MB / 4.366 GB, free: 133.6 MB / 0.9559 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005953/7.713, allocations: 188.9 kB / 4.366 GB, free: 133.6 MB / 0.9559 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/7.713, allocations: 77.41 kB / 4.366 GB, free: 133.6 MB / 0.9559 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002119/7.715, allocations: 1.396 MB / 4.368 GB, free: 133 MB / 0.9559 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/7.717, allocations: 1.382 MB / 4.369 GB, free: 132.4 MB / 0.9559 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/7.717, allocations: 2.812 kB / 4.369 GB, free: 132.4 MB / 0.9559 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/7.717, allocations: 3 kB / 4.369 GB, free: 132.4 MB / 0.9559 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/7.717, allocations: 47.56 kB / 4.369 GB, free: 132.4 MB / 0.9559 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00902/7.726, allocations: 7.186 MB / 4.376 GB, free: 127.8 MB / 0.9559 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/7.728, allocations: 1.221 MB / 4.377 GB, free: 127.3 MB / 0.9559 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006627/7.729, allocations: 0.5763 MB / 4.378 GB, free: 127.1 MB / 0.9559 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/7.729, allocations: 0.7214 MB / 4.378 GB, free: 126.3 MB / 0.9559 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/7.729, allocations: 45.47 kB / 4.378 GB, free: 126.3 MB / 0.9559 GB Notification: Performance of pre-optimization done (n=71): time 3.046e-06/7.729, allocations: 2.156 kB / 4.378 GB, free: 126.3 MB / 0.9559 GB Notification: Performance of matching and sorting (n=71): time 0.003273/7.733, allocations: 1.483 MB / 4.38 GB, free: 125.7 MB / 0.9559 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/7.733, allocations: 194.1 kB / 4.38 GB, free: 125.5 MB / 0.9559 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/7.734, allocations: 1.543 MB / 4.382 GB, free: 124.9 MB / 0.9559 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/7.735, allocations: 29.55 kB / 4.382 GB, free: 124.8 MB / 0.9559 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/7.735, allocations: 0.5096 MB / 4.382 GB, free: 124.5 MB / 0.9559 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/7.735, allocations: 240.2 kB / 4.382 GB, free: 124.3 MB / 0.9559 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/7.735, allocations: 0 / 4.382 GB, free: 124.3 MB / 0.9559 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/7.735, allocations: 357.4 kB / 4.383 GB, free: 123.9 MB / 0.9559 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/7.736, allocations: 0.9442 MB / 4.384 GB, free: 123.6 MB / 0.9559 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/7.737, allocations: 1.36 MB / 4.385 GB, free: 122.7 MB / 0.9559 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/7.74, allocations: 1.259 MB / 4.386 GB, free: 122.3 MB / 0.9559 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/7.74, allocations: 6.828 kB / 4.386 GB, free: 122.3 MB / 0.9559 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004533/7.745, allocations: 2.649 MB / 4.389 GB, free: 121.4 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005396/7.745, allocations: 2.919 MB / 4.392 GB, free: 118.3 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/7.745, allocations: 10.78 kB / 4.392 GB, free: 118.3 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/7.745, allocations: 15.25 kB / 4.392 GB, free: 118.3 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/7.747, allocations: 408.7 kB / 4.392 GB, free: 118.3 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/7.747, allocations: 15.69 kB / 4.392 GB, free: 118.3 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/7.749, allocations: 274 kB / 4.392 GB, free: 118.2 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/7.75, allocations: 90.23 kB / 4.392 GB, free: 118.2 MB / 0.9559 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/7.75, allocations: 7.969 kB / 4.392 GB, free: 118.2 MB / 0.9559 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004907/7.754, allocations: 2.468 MB / 4.395 GB, free: 117.4 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/7.755, allocations: 8.875 kB / 4.395 GB, free: 117.4 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/7.755, allocations: 14 kB / 4.395 GB, free: 117.4 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/7.756, allocations: 410.2 kB / 4.395 GB, free: 117.4 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/7.756, allocations: 18.09 kB / 4.395 GB, free: 117.4 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/7.759, allocations: 234.4 kB / 4.396 GB, free: 117.3 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/7.759, allocations: 92.64 kB / 4.396 GB, free: 117.3 MB / 0.9559 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,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 (163): * Single equations (assignments): 160 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003832/7.759, allocations: 154.6 kB / 4.396 GB, free: 117.2 MB / 0.9559 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/7.76, allocations: 148.7 kB / 4.396 GB, free: 117.1 MB / 0.9559 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/7.764, allocations: 1.678 MB / 4.398 GB, free: 116.5 MB / 0.9559 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/7.764, allocations: 7.75 kB / 4.398 GB, free: 116.5 MB / 0.9559 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/7.764, allocations: 6.75 kB / 4.398 GB, free: 116.5 MB / 0.9559 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/7.764, allocations: 5.297 kB / 4.398 GB, free: 116.5 MB / 0.9559 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/7.771, allocations: 3.599 MB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/7.771, allocations: 2.719 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/7.772, allocations: 258.2 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/7.772, allocations: 9.906 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/7.772, allocations: 20.86 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/7.772, allocations: 13.88 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/7.772, allocations: 2.969 kB / 4.401 GB, free: 114.9 MB / 0.9559 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004284/7.776, allocations: 2.668 MB / 4.404 GB, free: 113.6 MB / 0.9559 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005966/7.782, allocations: 4.059 MB / 4.408 GB, free: 111.4 MB / 0.9559 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/7.783, allocations: 498.5 kB / 4.408 GB, free: 111.1 MB / 0.9559 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006056/7.784, allocations: 9.562 kB / 4.408 GB, free: 111.1 MB / 0.9559 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/7.786, allocations: 151.9 kB / 4.409 GB, free: 111.1 MB / 0.9559 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/7.786, allocations: 52.33 kB / 4.409 GB, free: 111.1 MB / 0.9559 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/7.786, allocations: 60.42 kB / 4.409 GB, free: 111.1 MB / 0.9559 GB Notification: Performance of sort global known variables: time 0.002365/7.789, allocations: 1.138 MB / 4.41 GB, free: 110.6 MB / 0.9559 GB Notification: Performance of remove unused functions: time 0.007399/7.796, allocations: 1.857 MB / 4.412 GB, free: 109.6 MB / 0.9559 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.x[1],vavBra.vav.filter.x[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * 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.005065/7.801, allocations: 2.757 MB / 4.414 GB, free: 108.7 MB / 0.9559 GB Notification: Performance of simCode: created initialization part: time 0.00464/7.806, allocations: 3.229 MB / 4.417 GB, free: 107.5 MB / 0.9559 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.806, allocations: 0.9375 kB / 4.417 GB, free: 107.5 MB / 0.9559 GB Notification: Performance of simCode: created simulation system equations: time 0.0009898/7.807, allocations: 0.5875 MB / 4.418 GB, free: 107.3 MB / 0.9559 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/7.81, allocations: 461.6 kB / 4.418 GB, free: 107.2 MB / 0.9559 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/7.817, allocations: 2.367 MB / 4.421 GB, free: 106.2 MB / 0.9559 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002472/7.819, allocations: 1.522 MB / 4.422 GB, free: 105.4 MB / 0.9559 GB Notification: Performance of SimCode: time 9.01e-07/7.819, allocations: 0 / 4.422 GB, free: 105.4 MB / 0.9559 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)