Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential") [: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.6789/0.6789, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001184/0.001184, allocations: 189.2 kB / 164.4 MB, free: 6.875 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.751/1.751, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.001051/0.001052, allocations: 92.17 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.353e-06/7.383e-06, allocations: 0 / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1935, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.108/5.301, allocations: 2.155 GB / 2.776 GB, free: 55.38 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.302, allocations: 95.94 kB / 2.776 GB, free: 55.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.641/6.943, allocations: 456.6 MB / 3.222 GB, free: 89.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001212/6.943, allocations: 23.67 kB / 3.222 GB, free: 89.36 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002822/6.946, allocations: 1.069 MB / 3.223 GB, free: 88.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/6.946, allocations: 8.031 kB / 3.223 GB, free: 88.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/6.948, allocations: 194.3 kB / 3.223 GB, free: 88.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/6.949, allocations: 0.716 MB / 3.224 GB, free: 87.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/6.949, allocations: 12 kB / 3.224 GB, free: 87.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/6.95, allocations: 28 kB / 3.224 GB, free: 87.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005557/6.95, allocations: 285.5 kB / 3.224 GB, free: 86.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/6.951, allocations: 415.3 kB / 3.224 GB, free: 86.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/6.951, allocations: 3.906 kB / 3.224 GB, free: 86.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/6.951, allocations: 0 / 3.224 GB, free: 86.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/6.951, allocations: 8 kB / 3.224 GB, free: 86.53 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/6.953, allocations: 1.659 MB / 3.226 GB, free: 84.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/6.954, allocations: 330.4 kB / 3.226 GB, free: 84.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/6.954, allocations: 136.8 kB / 3.227 GB, free: 84.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/6.955, allocations: 193.7 kB / 3.227 GB, free: 84.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/6.955, allocations: 38.56 kB / 3.227 GB, free: 84.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 2.415e-06/6.955, allocations: 0 / 3.227 GB, free: 84.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.003895/6.959, allocations: 0.7131 MB / 3.227 GB, free: 83.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/6.959, allocations: 213.6 kB / 3.228 GB, free: 83.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/6.959, allocations: 0.5662 MB / 3.228 GB, free: 82.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/6.959, allocations: 37.62 kB / 3.228 GB, free: 82.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/6.96, allocations: 228.7 kB / 3.228 GB, free: 82.19 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/6.96, allocations: 86.66 kB / 3.229 GB, free: 82.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/6.96, allocations: 4 kB / 3.229 GB, free: 82.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/6.96, allocations: 318 kB / 3.229 GB, free: 81.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/6.96, allocations: 148.3 kB / 3.229 GB, free: 81.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/6.96, allocations: 318.3 kB / 3.229 GB, free: 81.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/6.961, allocations: 195 kB / 3.229 GB, free: 81.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.961, allocations: 0 / 3.229 GB, free: 81.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003058/6.964, allocations: 0.7187 MB / 3.23 GB, free: 80.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.584e-05/6.964, allocations: 278.5 kB / 3.23 GB, free: 80.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/6.964, allocations: 4 kB / 3.23 GB, free: 80.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/6.964, allocations: 56.83 kB / 3.231 GB, free: 79.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/6.965, allocations: 183.8 kB / 3.231 GB, free: 79.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/6.967, allocations: 1.275 MB / 3.232 GB, free: 78.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/6.968, allocations: 80.75 kB / 3.232 GB, free: 78.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/6.968, allocations: 15.98 kB / 3.232 GB, free: 78.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/6.968, allocations: 4 kB / 3.232 GB, free: 78.39 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007156/6.968, allocations: 361 kB / 3.232 GB, free: 78.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/6.968, allocations: 11.89 kB / 3.232 GB, free: 78.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/6.969, allocations: 48.81 kB / 3.232 GB, free: 77.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/6.969, allocations: 87.88 kB / 3.233 GB, free: 77.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/6.97, allocations: 1.396 MB / 3.234 GB, free: 76.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007619/6.971, allocations: 72.02 kB / 3.234 GB, free: 76.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/6.971, allocations: 23.98 kB / 3.234 GB, free: 76.28 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/6.971, allocations: 120.1 kB / 3.234 GB, free: 76.16 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/6.971, allocations: 63.16 kB / 3.234 GB, free: 76.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/6.974, allocations: 0.6049 MB / 3.235 GB, free: 75.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/6.974, allocations: 4 kB / 3.235 GB, free: 75.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/6.974, allocations: 0 / 3.235 GB, free: 75.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/6.974, allocations: 3.984 kB / 3.235 GB, free: 75.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/6.977, allocations: 1.285 MB / 3.236 GB, free: 74.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/6.977, allocations: 0 / 3.236 GB, free: 74.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/6.979, allocations: 172 kB / 3.236 GB, free: 73.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001511/6.979, allocations: 60.77 kB / 3.236 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/6.979, allocations: 7.984 kB / 3.236 GB, free: 73.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005343/6.984, allocations: 3.176 MB / 3.239 GB, free: 70.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/6.984, allocations: 0 / 3.239 GB, free: 70.49 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002861/6.987, allocations: 0.9554 MB / 3.24 GB, free: 69.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/6.987, allocations: 160.1 kB / 3.24 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/6.988, allocations: 4 kB / 3.24 GB, free: 69.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/6.988, allocations: 55.94 kB / 3.24 GB, free: 69.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/6.989, allocations: 27.88 kB / 3.241 GB, free: 69.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/6.989, allocations: 12 kB / 3.241 GB, free: 69.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0006594/6.989, allocations: 451.1 kB / 3.241 GB, free: 68.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002023/6.991, allocations: 435.2 kB / 3.241 GB, free: 68.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002999/6.994, allocations: 1.454 MB / 3.243 GB, free: 67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002467/6.997, allocations: 0.8843 MB / 3.244 GB, free: 66.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/6.997, allocations: 4 kB / 3.244 GB, free: 66.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/6.998, allocations: 409.8 kB / 3.244 GB, free: 65.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/7, allocations: 237.7 kB / 3.244 GB, free: 65.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/7.002, allocations: 1.02 MB / 3.245 GB, free: 64.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/7.003, allocations: 1.027 MB / 3.246 GB, free: 63.33 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/7.003, allocations: 0 / 3.246 GB, free: 63.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.03634/7.039, allocations: 22.74 MB / 3.268 GB, free: 40.73 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)