Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.922/1.922, allocations: 387.2 MB / 394.5 MB, free: 13.59 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.001022/0.001022, allocations: 185.2 kB / 487 MB, free: 5.328 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.272/1.272, allocations: 221.3 MB / 0.7819 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009227, allocations: 94.3 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5042/0.5052, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.7331, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.627/4.361, allocations: 2.187 GB / 3.392 GB, free: 109.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/4.361, allocations: 83.95 kB / 3.392 GB, free: 109.9 MB / 1.151 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.472/7.833, allocations: 1.051 GB / 4.443 GB, free: 184.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/7.833, allocations: 11.62 kB / 4.443 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/7.837, allocations: 0.5369 MB / 4.444 GB, free: 184.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004526/7.841, allocations: 2.068 MB / 4.446 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006259/7.842, allocations: 193.6 kB / 4.446 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/7.842, allocations: 78.5 kB / 4.446 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/7.844, allocations: 1.366 MB / 4.447 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/7.846, allocations: 1.364 MB / 4.449 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/7.846, allocations: 3 kB / 4.449 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/7.846, allocations: 7.562 kB / 4.449 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.455e-05/7.846, allocations: 47.8 kB / 4.449 GB, free: 183.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009715/7.856, allocations: 7.563 MB / 4.456 GB, free: 180.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/7.858, allocations: 1.223 MB / 4.457 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/7.858, allocations: 0.5782 MB / 4.458 GB, free: 180.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006814/7.859, allocations: 0.7143 MB / 4.459 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/7.859, allocations: 42.09 kB / 4.459 GB, free: 180 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 4.128e-06/7.859, allocations: 0 / 4.459 GB, free: 180 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.003486/7.863, allocations: 1.475 MB / 4.46 GB, free: 179.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/7.863, allocations: 120.4 kB / 4.46 GB, free: 179.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/7.865, allocations: 1.525 MB / 4.462 GB, free: 179.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/7.865, allocations: 28.92 kB / 4.462 GB, free: 179.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/7.865, allocations: 0.4963 MB / 4.462 GB, free: 179.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/7.865, allocations: 237.2 kB / 4.462 GB, free: 179.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/7.866, allocations: 0 / 4.462 GB, free: 179.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/7.866, allocations: 359.9 kB / 4.463 GB, free: 178.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/7.867, allocations: 1.154 MB / 4.464 GB, free: 178.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/7.869, allocations: 1.546 MB / 4.465 GB, free: 178.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/7.871, allocations: 1.239 MB / 4.467 GB, free: 178.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/7.871, allocations: 2.969 kB / 4.467 GB, free: 178.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004939/7.876, allocations: 2.789 MB / 4.469 GB, free: 178.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006628/7.877, allocations: 2.914 MB / 4.472 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/7.877, allocations: 7.469 kB / 4.472 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/7.877, allocations: 14.44 kB / 4.472 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/7.879, allocations: 408.8 kB / 4.473 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/7.879, allocations: 20.28 kB / 4.473 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/7.882, allocations: 266.5 kB / 4.473 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/7.882, allocations: 90.55 kB / 4.473 GB, free: 175.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/7.882, allocations: 10.47 kB / 4.473 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004672/7.886, allocations: 2.613 MB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/7.887, allocations: 7.281 kB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/7.887, allocations: 13.56 kB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/7.889, allocations: 407.1 kB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.441e-05/7.889, allocations: 17 kB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/7.891, allocations: 234.7 kB / 4.476 GB, free: 175.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/7.891, allocations: 90.56 kB / 4.476 GB, free: 175.3 MB / 1.151 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 (161): * Single equations (assignments): 160 * 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.0004323/7.892, allocations: 143.9 kB / 4.476 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/7.892, allocations: 147.1 kB / 4.477 GB, free: 175.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/7.896, allocations: 1.682 MB / 4.478 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/7.896, allocations: 6.75 kB / 4.478 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/7.896, allocations: 7.219 kB / 4.478 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/7.896, allocations: 3.797 kB / 4.478 GB, free: 175 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/7.903, allocations: 3.601 MB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/7.903, allocations: 0 / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/7.905, allocations: 254 kB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/7.905, allocations: 3.906 kB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/7.905, allocations: 24.92 kB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/7.905, allocations: 3.875 kB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/7.905, allocations: 3.875 kB / 4.482 GB, free: 174.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004576/7.909, allocations: 2.65 MB / 4.485 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006051/7.916, allocations: 4.035 MB / 4.489 GB, free: 173.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/7.917, allocations: 496 kB / 4.489 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006869/7.918, allocations: 7.516 kB / 4.489 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/7.92, allocations: 146.7 kB / 4.489 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/7.92, allocations: 58.17 kB / 4.489 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/7.92, allocations: 62.17 kB / 4.489 GB, free: 172.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.002181/7.922, allocations: 1.125 MB / 4.49 GB, free: 172.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00852/7.931, allocations: 1.858 MB / 4.492 GB, free: 172.7 MB / 1.151 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: 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.005172/7.936, allocations: 2.701 MB / 4.495 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005739/7.942, allocations: 3.477 MB / 4.498 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/7.942, allocations: 0 / 4.498 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008555/7.942, allocations: 0.5854 MB / 4.499 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/7.945, allocations: 441.8 kB / 4.499 GB, free: 171.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/7.951, allocations: 2.334 MB / 4.501 GB, free: 171.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/7.952, allocations: 1.504 MB / 4.503 GB, free: 170.6 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/7.952, allocations: 0 / 4.503 GB, free: 170.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_9_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)