Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 289.8 MB / 297.1 MB, free: 6.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.001524/0.001524, allocations: 181.3 kB / 366.3 MB, free: 2.023 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.534/1.534, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009074/0.0009074, allocations: 90.02 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3014/0.3023, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/1.008, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.574/5.582, allocations: 2.36 GB / 3.332 GB, free: 91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/5.582, allocations: 89.78 kB / 3.332 GB, free: 90.92 MB / 0.948 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 3.889/9.472, allocations: 1.041 GB / 4.373 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/9.472, allocations: 9.875 kB / 4.373 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/9.476, allocations: 0.5897 MB / 4.374 GB, free: 131.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/9.481, allocations: 2.048 MB / 4.376 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006957/9.482, allocations: 193.6 kB / 4.376 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/9.482, allocations: 78.94 kB / 4.376 GB, free: 129.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002566/9.485, allocations: 1.395 MB / 4.377 GB, free: 128.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/9.487, allocations: 1.377 MB / 4.379 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/9.487, allocations: 11.62 kB / 4.379 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/9.487, allocations: 0 / 4.379 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/9.487, allocations: 53.83 kB / 4.379 GB, free: 127.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/9.499, allocations: 7.173 MB / 4.386 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/9.501, allocations: 1.22 MB / 4.387 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/9.501, allocations: 0.581 MB / 4.388 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007659/9.502, allocations: 0.7147 MB / 4.388 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/9.502, allocations: 47.25 kB / 4.388 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 3.947e-06/9.502, allocations: 6.75 kB / 4.388 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.003698/9.506, allocations: 1.48 MB / 4.39 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/9.506, allocations: 192.5 kB / 4.39 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/9.508, allocations: 1.543 MB / 4.391 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002606/9.508, allocations: 28.23 kB / 4.392 GB, free: 113.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/9.509, allocations: 0.5018 MB / 4.392 GB, free: 113.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/9.509, allocations: 237.4 kB / 4.392 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-05/9.509, allocations: 0 / 4.392 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001056/9.509, allocations: 357.9 kB / 4.393 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/9.51, allocations: 0.9469 MB / 4.394 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/9.512, allocations: 1.351 MB / 4.395 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/9.514, allocations: 1.261 MB / 4.396 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/9.514, allocations: 7.906 kB / 4.396 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004947/9.519, allocations: 2.644 MB / 4.399 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007306/9.52, allocations: 2.927 MB / 4.402 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/9.52, allocations: 15.98 kB / 4.402 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/9.52, allocations: 16 kB / 4.402 GB, free: 103.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/9.522, allocations: 405.7 kB / 4.402 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/9.522, allocations: 19.88 kB / 4.402 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002582/9.525, allocations: 278.6 kB / 4.402 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/9.525, allocations: 91.97 kB / 4.402 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/9.525, allocations: 4 kB / 4.402 GB, free: 102.6 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004266/9.529, allocations: 2.463 MB / 4.405 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/9.529, allocations: 11.94 kB / 4.405 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/9.529, allocations: 15.94 kB / 4.405 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/9.531, allocations: 412.2 kB / 4.405 GB, free: 99.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/9.531, allocations: 23.92 kB / 4.405 GB, free: 99.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/9.533, allocations: 229.7 kB / 4.405 GB, free: 99.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/9.534, allocations: 91.95 kB / 4.405 GB, free: 99.38 MB / 0.9636 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.0004108/9.534, allocations: 150.3 kB / 4.406 GB, free: 99.23 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/9.535, allocations: 152 kB / 4.406 GB, free: 99.08 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003832/9.538, allocations: 1.678 MB / 4.407 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/9.538, allocations: 8 kB / 4.407 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/9.538, allocations: 0 / 4.407 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/9.538, allocations: 3.984 kB / 4.407 GB, free: 97.38 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/9.545, allocations: 3.614 MB / 4.411 GB, free: 93.72 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/9.545, allocations: 7.906 kB / 4.411 GB, free: 93.71 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/9.546, allocations: 250.7 kB / 4.411 GB, free: 93.48 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/9.546, allocations: 4 kB / 4.411 GB, free: 93.48 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-05/9.547, allocations: 31.91 kB / 4.411 GB, free: 93.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/9.547, allocations: 7.938 kB / 4.411 GB, free: 93.44 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/9.547, allocations: 7.125 kB / 4.411 GB, free: 93.43 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004406/9.551, allocations: 2.66 MB / 4.414 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00576/9.557, allocations: 4.064 MB / 4.418 GB, free: 86.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/9.558, allocations: 494.6 kB / 4.418 GB, free: 86.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003049/9.558, allocations: 8 kB / 4.418 GB, free: 86.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/9.56, allocations: 152.2 kB / 4.418 GB, free: 85.88 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/9.56, allocations: 59.91 kB / 4.418 GB, free: 85.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/9.56, allocations: 55 kB / 4.419 GB, free: 85.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001589/9.562, allocations: 1.134 MB / 4.42 GB, free: 84.64 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006602/9.568, allocations: 1.869 MB / 4.421 GB, free: 82.77 MB / 0.9636 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.004255/9.573, allocations: 2.752 MB / 4.424 GB, free: 80.44 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004068/9.577, allocations: 3.231 MB / 4.427 GB, free: 77.21 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/9.577, allocations: 0 / 4.427 GB, free: 77.21 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007681/9.578, allocations: 0.5958 MB / 4.428 GB, free: 76.61 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/9.58, allocations: 443.1 kB / 4.428 GB, free: 76.2 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/9.586, allocations: 2.373 MB / 4.431 GB, free: 73.79 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/9.587, allocations: 1.516 MB / 4.432 GB, free: 72.27 MB / 0.9636 GB Notification: Performance of SimCode: time 1.162e-06/9.587, allocations: 4 kB / 4.432 GB, free: 72.27 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)