Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4") [: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/BuildSysPro 3.5.0/package.mo): time 0.8179/0.8179, allocations: 127.4 MB / 134.6 MB, free: 4.066 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 185.3 kB / 164.4 MB, free: 6.867 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.1 MB / 399.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 83.33 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.604e-06, allocations: 0 / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1759, allocations: 76.76 MB / 0.6209 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.309/5.484, allocations: 2.182 GB / 2.803 GB, free: 225.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/5.485, allocations: 92.72 kB / 2.803 GB, free: 225.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.145/10.63, allocations: 1.435 GB / 4.238 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002718/10.63, allocations: 47.94 kB / 4.238 GB, free: 65.62 MB / 0.6823 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 0.007817/10.64, allocations: 1.9 MB / 4.24 GB, free: 63.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/10.64, allocations: 8.031 kB / 4.24 GB, free: 63.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/10.64, allocations: 0.5303 MB / 4.241 GB, free: 63.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004831/10.65, allocations: 1.262 MB / 4.242 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009624/10.65, allocations: 255.5 kB / 4.242 GB, free: 61.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004091/10.65, allocations: 63.98 kB / 4.242 GB, free: 61.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/10.65, allocations: 0.7342 MB / 4.243 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/10.65, allocations: 1.068 MB / 4.244 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/10.65, allocations: 3.938 kB / 4.244 GB, free: 59.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/10.65, allocations: 4 kB / 4.244 GB, free: 59.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/10.65, allocations: 45.98 kB / 4.244 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/10.66, allocations: 6.458 MB / 4.25 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008182/10.66, allocations: 484 kB / 4.251 GB, free: 52.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/10.66, allocations: 187.4 kB / 4.251 GB, free: 52.22 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/10.66, allocations: 369.8 kB / 4.251 GB, free: 51.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/10.66, allocations: 46.42 kB / 4.251 GB, free: 51.74 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 5.079e-06/10.66, allocations: 0 / 4.251 GB, free: 51.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001812/10.67, allocations: 0.5473 MB / 4.252 GB, free: 51.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/10.67, allocations: 58.19 kB / 4.252 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/10.67, allocations: 0.8143 MB / 4.253 GB, free: 50.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/10.67, allocations: 25.7 kB / 4.253 GB, free: 50.27 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/10.67, allocations: 0.525 MB / 4.253 GB, free: 49.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/10.67, allocations: 110.4 kB / 4.253 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/10.67, allocations: 0 / 4.253 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/10.67, allocations: 336.1 kB / 4.254 GB, free: 49.29 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/10.67, allocations: 197.2 kB / 4.254 GB, free: 49.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004714/10.67, allocations: 0.5501 MB / 4.254 GB, free: 48.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/10.67, allocations: 303.6 kB / 4.255 GB, free: 48.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/10.67, allocations: 4 kB / 4.255 GB, free: 48.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001214/10.67, allocations: 0.7582 MB / 4.255 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009232/10.67, allocations: 3.926 MB / 4.259 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.67, allocations: 12 kB / 4.259 GB, free: 43.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/10.67, allocations: 16 kB / 4.259 GB, free: 43.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/10.67, allocations: 225.4 kB / 4.259 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/10.67, allocations: 19.92 kB / 4.259 GB, free: 42.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/10.67, allocations: 191.2 kB / 4.26 GB, free: 42.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/10.67, allocations: 39.98 kB / 4.26 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/10.67, allocations: 4 kB / 4.26 GB, free: 42.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009915/10.67, allocations: 0.6078 MB / 4.26 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/10.67, allocations: 15.91 kB / 4.26 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/10.67, allocations: 16.84 kB / 4.26 GB, free: 42.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/10.68, allocations: 207.7 kB / 4.26 GB, free: 41.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/10.68, allocations: 27.92 kB / 4.26 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/10.68, allocations: 151.4 kB / 4.261 GB, free: 41.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/10.68, allocations: 43.94 kB / 4.261 GB, free: 41.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * 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.0001999/10.68, allocations: 136.7 kB / 4.261 GB, free: 41.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/10.68, allocations: 110.6 kB / 4.261 GB, free: 41.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/10.68, allocations: 0.4894 MB / 4.261 GB, free: 40.85 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/10.68, allocations: 4 kB / 4.261 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/10.68, allocations: 0 / 4.261 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/10.68, allocations: 3.984 kB / 4.261 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/10.68, allocations: 1.665 MB / 4.263 GB, free: 39.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/10.68, allocations: 4 kB / 4.263 GB, free: 39.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/10.68, allocations: 124.2 kB / 4.263 GB, free: 38.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/10.68, allocations: 4 kB / 4.263 GB, free: 38.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/10.68, allocations: 8 kB / 4.263 GB, free: 38.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/10.68, allocations: 7.984 kB / 4.263 GB, free: 38.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/10.68, allocations: 7.938 kB / 4.263 GB, free: 38.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009125/10.68, allocations: 0.8288 MB / 4.264 GB, free: 37.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/10.68, allocations: 251.5 kB / 4.264 GB, free: 37.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/10.68, allocations: 7.984 kB / 4.264 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/10.68, allocations: 123.8 kB / 4.264 GB, free: 37.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/10.68, allocations: 27.91 kB / 4.264 GB, free: 37.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/10.68, allocations: 19.98 kB / 4.264 GB, free: 37.53 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007162/10.69, allocations: 0.6157 MB / 4.265 GB, free: 36.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00298/10.69, allocations: 0.8146 MB / 4.266 GB, free: 36.09 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 31 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.005292/10.69, allocations: 3.56 MB / 4.269 GB, free: 32.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00159/10.69, allocations: 0.8174 MB / 4.27 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/10.69, allocations: 0 / 4.27 GB, free: 31.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/10.7, allocations: 185.8 kB / 4.27 GB, free: 31.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/10.7, allocations: 393.6 kB / 4.271 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004938/10.7, allocations: 1.676 MB / 4.272 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009297/10.7, allocations: 1.314 MB / 4.274 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/10.7, allocations: 0 / 4.274 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of Templates: time 0.06345/10.77, allocations: 37.17 MB / 4.31 GB, free: 7.309 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)