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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",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/BuildSysPro 3.5.0/package.mo): time 0.7178/0.7178, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001566/0.001566, allocations: 185.3 kB / 164.4 MB, free: 6.883 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.614/1.614, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001011/0.001011, allocations: 85.97 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3227/0.3237, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.5047, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.453/5.957, allocations: 2.155 GB / 2.776 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/5.958, allocations: 95.92 kB / 2.776 GB, free: 10.57 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 1.839/7.797, allocations: 457.7 MB / 3.223 GB, free: 52.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/7.797, allocations: 8 kB / 3.223 GB, free: 52.11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/7.799, allocations: 183.3 kB / 3.223 GB, free: 51.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/7.802, allocations: 0.7128 MB / 3.224 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/7.802, allocations: 12 kB / 3.224 GB, free: 51.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/7.802, allocations: 28 kB / 3.224 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006791/7.803, allocations: 289.5 kB / 3.224 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/7.803, allocations: 411.2 kB / 3.225 GB, free: 50.44 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/7.804, allocations: 3.906 kB / 3.225 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/7.804, allocations: 0 / 3.225 GB, free: 50.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/7.804, allocations: 16 kB / 3.225 GB, free: 50.42 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/7.807, allocations: 1.646 MB / 3.226 GB, free: 48.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/7.808, allocations: 322.4 kB / 3.226 GB, free: 48.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/7.808, allocations: 142.7 kB / 3.227 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/7.808, allocations: 191.6 kB / 3.227 GB, free: 47.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/7.808, allocations: 34.56 kB / 3.227 GB, free: 47.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 3.086e-06/7.808, allocations: 3.938 kB / 3.227 GB, free: 47.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.004143/7.812, allocations: 0.7124 MB / 3.228 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/7.812, allocations: 213.6 kB / 3.228 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008973/7.813, allocations: 0.5739 MB / 3.228 GB, free: 46.37 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/7.813, allocations: 25.7 kB / 3.228 GB, free: 46.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/7.814, allocations: 226.8 kB / 3.229 GB, free: 46.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/7.814, allocations: 90.66 kB / 3.229 GB, free: 46.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/7.814, allocations: 0 / 3.229 GB, free: 46.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/7.814, allocations: 318 kB / 3.229 GB, free: 45.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/7.814, allocations: 148.3 kB / 3.229 GB, free: 45.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/7.814, allocations: 334.2 kB / 3.229 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/7.815, allocations: 179 kB / 3.23 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/7.815, allocations: 0 / 3.23 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003242/7.818, allocations: 0.7271 MB / 3.23 GB, free: 44.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/7.818, allocations: 268.1 kB / 3.231 GB, free: 43.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/7.818, allocations: 4 kB / 3.231 GB, free: 43.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/7.819, allocations: 60.83 kB / 3.231 GB, free: 43.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/7.82, allocations: 183.8 kB / 3.231 GB, free: 43.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/7.821, allocations: 1.275 MB / 3.232 GB, free: 42.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/7.822, allocations: 84 kB / 3.232 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/7.822, allocations: 23.98 kB / 3.232 GB, free: 42.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/7.822, allocations: 4 kB / 3.232 GB, free: 42.29 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007311/7.823, allocations: 357.5 kB / 3.232 GB, free: 41.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/7.823, allocations: 7.906 kB / 3.232 GB, free: 41.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/7.823, allocations: 56.8 kB / 3.233 GB, free: 41.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/7.824, allocations: 75.95 kB / 3.233 GB, free: 41.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/7.825, allocations: 1.405 MB / 3.234 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/7.826, allocations: 59.98 kB / 3.234 GB, free: 40.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.636e-05/7.826, allocations: 19.98 kB / 3.234 GB, free: 40.2 MB / 0.6511 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.0002104/7.826, allocations: 120.1 kB / 3.234 GB, free: 40.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/7.827, allocations: 67.16 kB / 3.234 GB, free: 40.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/7.829, allocations: 0.6057 MB / 3.235 GB, free: 39.39 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/7.829, allocations: 4 kB / 3.235 GB, free: 39.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/7.829, allocations: 0 / 3.235 GB, free: 39.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/7.829, allocations: 0 / 3.235 GB, free: 39.39 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/7.833, allocations: 1.285 MB / 3.236 GB, free: 38.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/7.833, allocations: 3.938 kB / 3.236 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/7.835, allocations: 175.8 kB / 3.236 GB, free: 37.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/7.835, allocations: 56.83 kB / 3.236 GB, free: 37.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/7.835, allocations: 8 kB / 3.236 GB, free: 37.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005905/7.841, allocations: 3.178 MB / 3.239 GB, free: 34.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/7.841, allocations: 4 kB / 3.239 GB, free: 34.4 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003113/7.844, allocations: 0.9605 MB / 3.24 GB, free: 33.36 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003429/7.847, allocations: 1.579 MB / 3.242 GB, free: 31.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/7.848, allocations: 152.2 kB / 3.242 GB, free: 31.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/7.848, allocations: 11.98 kB / 3.242 GB, free: 31.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/7.849, allocations: 55.95 kB / 3.242 GB, free: 31.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/7.849, allocations: 31.86 kB / 3.242 GB, free: 31.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/7.849, allocations: 8 kB / 3.242 GB, free: 31.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006775/7.85, allocations: 455.1 kB / 3.243 GB, free: 30.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003939/7.854, allocations: 0.7031 MB / 3.243 GB, free: 30.29 MB / 0.6511 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.002395/7.856, allocations: 1.477 MB / 3.245 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002868/7.859, allocations: 0.8923 MB / 3.246 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/7.859, allocations: 0 / 3.246 GB, free: 27.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/7.86, allocations: 405.8 kB / 3.246 GB, free: 27.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/7.862, allocations: 242.6 kB / 3.246 GB, free: 27.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/7.865, allocations: 1.012 MB / 3.247 GB, free: 26.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000973/7.866, allocations: 1.031 MB / 3.248 GB, free: 25.11 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/7.866, allocations: 3.938 kB / 3.248 GB, free: 25.11 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)