Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.587/2.587, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001647/0.001647, allocations: 185.2 kB / 360.3 MB, free: 7.523 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.864/1.864, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001257/0.001256, allocations: 88.22 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2646/0.2659, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.9706, allocations: 115.2 MB / 0.9628 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.556/6.527, allocations: 2.359 GB / 3.321 GB, free: 107.4 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/6.527, allocations: 94.44 kB / 3.321 GB, free: 107.4 MB / 1.104 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 5.137/11.66, allocations: 1.04 GB / 4.362 GB, free: 177.1 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/11.66, allocations: 14.88 kB / 4.362 GB, free: 177.1 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009904/11.67, allocations: 0.5811 MB / 4.363 GB, free: 177 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/11.69, allocations: 2.05 MB / 4.365 GB, free: 176.7 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001903/11.69, allocations: 194.3 kB / 4.365 GB, free: 176.7 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/11.69, allocations: 74.56 kB / 4.365 GB, free: 176.7 MB / 1.12 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005593/11.7, allocations: 1.399 MB / 4.366 GB, free: 176.7 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004566/11.7, allocations: 1.379 MB / 4.368 GB, free: 176.5 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/11.7, allocations: 7.219 kB / 4.368 GB, free: 176.5 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/11.7, allocations: 3.188 kB / 4.368 GB, free: 176.5 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/11.7, allocations: 44.53 kB / 4.368 GB, free: 176.5 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/11.72, allocations: 7.18 MB / 4.375 GB, free: 173.6 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/11.72, allocations: 1.212 MB / 4.376 GB, free: 173.5 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/11.72, allocations: 0.5808 MB / 4.376 GB, free: 173.5 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/11.72, allocations: 0.7186 MB / 4.377 GB, free: 172.8 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/11.72, allocations: 44.88 kB / 4.377 GB, free: 172.7 MB / 1.12 GB Notification: Performance of pre-optimization done (n=71): time 3.687e-06/11.72, allocations: 3.844 kB / 4.377 GB, free: 172.7 MB / 1.12 GB Notification: Performance of matching and sorting (n=71): time 0.006288/11.73, allocations: 1.479 MB / 4.379 GB, free: 172.6 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/11.73, allocations: 198 kB / 4.379 GB, free: 172.4 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003865/11.73, allocations: 1.545 MB / 4.38 GB, free: 172.2 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0004748/11.73, allocations: 28.08 kB / 4.38 GB, free: 172.2 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.000574/11.74, allocations: 0.5053 MB / 4.381 GB, free: 172 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.000475/11.74, allocations: 233.6 kB / 4.381 GB, free: 171.8 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/11.74, allocations: 0 / 4.381 GB, free: 171.8 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0001331/11.74, allocations: 365.1 kB / 4.381 GB, free: 171.5 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/11.74, allocations: 0.9432 MB / 4.382 GB, free: 171.5 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002532/11.74, allocations: 1.354 MB / 4.384 GB, free: 171.1 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004643/11.75, allocations: 1.264 MB / 4.385 GB, free: 171.1 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/11.75, allocations: 0 / 4.385 GB, free: 171.1 MB / 1.12 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00876/11.75, allocations: 2.652 MB / 4.387 GB, free: 170.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006497/11.76, allocations: 2.92 MB / 4.39 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/11.76, allocations: 14.31 kB / 4.39 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.66e-05/11.76, allocations: 14.59 kB / 4.39 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/11.76, allocations: 403.1 kB / 4.391 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/11.76, allocations: 18.91 kB / 4.391 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/11.76, allocations: 270.9 kB / 4.391 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005586/11.76, allocations: 92.8 kB / 4.391 GB, free: 167.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/11.76, allocations: 6.094 kB / 4.391 GB, free: 167.9 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008069/11.77, allocations: 2.467 MB / 4.393 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.165e-05/11.77, allocations: 10.81 kB / 4.393 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/11.77, allocations: 12.81 kB / 4.393 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/11.78, allocations: 411.7 kB / 4.394 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/11.78, allocations: 18.84 kB / 4.394 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/11.78, allocations: 234.2 kB / 4.394 GB, free: 167.8 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005697/11.78, allocations: 95.06 kB / 4.394 GB, free: 167.8 MB / 1.12 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.0005388/11.78, allocations: 150.1 kB / 4.394 GB, free: 167.7 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007984/11.78, allocations: 152.2 kB / 4.394 GB, free: 167.6 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/11.79, allocations: 1.68 MB / 4.396 GB, free: 167.5 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/11.79, allocations: 10.94 kB / 4.396 GB, free: 167.5 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/11.79, allocations: 0 / 4.396 GB, free: 167.5 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/11.79, allocations: 10.91 kB / 4.396 GB, free: 167.5 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/11.8, allocations: 3.617 MB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/11.8, allocations: 3.219 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/11.8, allocations: 254.9 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/11.8, allocations: 3.812 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001732/11.8, allocations: 25.84 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/11.8, allocations: 7.219 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/11.8, allocations: 3.719 kB / 4.4 GB, free: 167 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00802/11.81, allocations: 2.661 MB / 4.403 GB, free: 166.5 MB / 1.12 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01076/11.82, allocations: 4.069 MB / 4.407 GB, free: 165.6 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/11.82, allocations: 492.5 kB / 4.407 GB, free: 165.4 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006624/11.83, allocations: 6.438 kB / 4.407 GB, free: 165.4 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/11.83, allocations: 156.6 kB / 4.407 GB, free: 165.4 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/11.83, allocations: 58.97 kB / 4.407 GB, free: 165.4 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/11.83, allocations: 51.66 kB / 4.407 GB, free: 165.4 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.00321/11.83, allocations: 1.137 MB / 4.408 GB, free: 165.3 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.01068/11.84, allocations: 1.862 MB / 4.41 GB, free: 165.2 MB / 1.12 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.005962/11.85, allocations: 2.751 MB / 4.413 GB, free: 164.4 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.007149/11.86, allocations: 3.229 MB / 4.416 GB, free: 164.3 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/11.86, allocations: 0 / 4.416 GB, free: 164.3 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/11.86, allocations: 0.5967 MB / 4.417 GB, free: 164.3 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/11.86, allocations: 441.4 kB / 4.417 GB, free: 164.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009326/11.87, allocations: 2.367 MB / 4.419 GB, free: 163.7 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/11.88, allocations: 1.521 MB / 4.421 GB, free: 163 MB / 1.12 GB Notification: Performance of SimCode: time 1.442e-06/11.88, allocations: 0 / 4.421 GB, free: 163 MB / 1.12 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_8.0.0_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)