Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.349/1.349, allocations: 285.5 MB / 292.8 MB, free: 0.707 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 180.7 kB / 361.1 MB, free: 15.24 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.2 MB / 0.6195 GB, free: 5.84 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 86.11 kB / 0.7325 GB, free: 47.23 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1938/0.1947, allocations: 121.5 MB / 0.8512 GB, free: 12.69 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.6699, allocations: 115.3 MB / 0.9637 GB, free: 85.62 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.367/4.037, allocations: 2.08 GB / 3.044 GB, free: 52.07 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/4.037, allocations: 94.34 kB / 3.044 GB, free: 51.98 MB / 0.9402 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 1.751/5.787, allocations: 461 MB / 3.494 GB, free: 228 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/5.788, allocations: 11.06 kB / 3.494 GB, free: 228 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/5.789, allocations: 192 kB / 3.494 GB, free: 227.9 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/5.791, allocations: 0.8075 MB / 3.495 GB, free: 227.7 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/5.791, allocations: 9.562 kB / 3.495 GB, free: 227.7 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/5.791, allocations: 29.31 kB / 3.495 GB, free: 227.7 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005122/5.791, allocations: 282.3 kB / 3.495 GB, free: 227.7 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005922/5.792, allocations: 430 kB / 3.496 GB, free: 227.6 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/5.792, allocations: 4.031 kB / 3.496 GB, free: 227.6 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/5.792, allocations: 3.562 kB / 3.496 GB, free: 227.6 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/5.792, allocations: 10.3 kB / 3.496 GB, free: 227.6 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/5.795, allocations: 1.92 MB / 3.498 GB, free: 226.7 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005412/5.796, allocations: 304.6 kB / 3.498 GB, free: 226.6 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/5.796, allocations: 136.6 kB / 3.498 GB, free: 226.6 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/5.796, allocations: 192.8 kB / 3.498 GB, free: 226.4 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/5.796, allocations: 45.12 kB / 3.498 GB, free: 226.4 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=26): time 2.645e-06/5.796, allocations: 1.031 kB / 3.498 GB, free: 226.4 MB / 0.9402 GB Notification: Performance of matching and sorting (n=26): time 0.001177/5.797, allocations: 405.3 kB / 3.499 GB, free: 226.3 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/5.797, allocations: 209.6 kB / 3.499 GB, free: 226.1 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/5.798, allocations: 0.6737 MB / 3.5 GB, free: 225.9 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/5.799, allocations: 28.92 kB / 3.5 GB, free: 225.9 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/5.799, allocations: 247.7 kB / 3.5 GB, free: 225.8 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 8.705e-05/5.799, allocations: 93.66 kB / 3.5 GB, free: 225.7 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/5.799, allocations: 0 / 3.5 GB, free: 225.7 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/5.799, allocations: 315.9 kB / 3.5 GB, free: 225.4 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/5.799, allocations: 131 kB / 3.5 GB, free: 225.4 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/5.799, allocations: 343 kB / 3.501 GB, free: 225.2 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/5.8, allocations: 175.8 kB / 3.501 GB, free: 225.2 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/5.8, allocations: 6.844 kB / 3.501 GB, free: 225.2 MB / 0.9402 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009347/5.801, allocations: 473.6 kB / 3.501 GB, free: 225.1 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/5.801, allocations: 282.7 kB / 3.502 GB, free: 224.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/5.801, allocations: 5.797 kB / 3.502 GB, free: 224.8 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/5.801, allocations: 31.62 kB / 3.502 GB, free: 224.8 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/5.802, allocations: 83.28 kB / 3.502 GB, free: 224.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005936/5.802, allocations: 1.181 MB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009784/5.803, allocations: 93.52 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/5.803, allocations: 17.61 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/5.803, allocations: 3.719 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006494/5.804, allocations: 344.5 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/5.804, allocations: 5.5 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/5.804, allocations: 39.81 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/5.805, allocations: 84.08 kB / 3.503 GB, free: 223.7 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/5.806, allocations: 1.396 MB / 3.505 GB, free: 222.4 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/5.807, allocations: 91.53 kB / 3.505 GB, free: 222.4 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/5.807, allocations: 18.88 kB / 3.505 GB, free: 222.4 MB / 0.9402 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 (31): * Single equations (assignments): 25 * 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.0001853/5.807, allocations: 119.3 kB / 3.505 GB, free: 222.3 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/5.807, allocations: 73.91 kB / 3.505 GB, free: 222.3 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008152/5.808, allocations: 398.5 kB / 3.505 GB, free: 222.2 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/5.808, allocations: 2.531 kB / 3.505 GB, free: 222.2 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/5.808, allocations: 0 / 3.505 GB, free: 222.2 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/5.808, allocations: 7.484 kB / 3.505 GB, free: 222.2 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/5.81, allocations: 1.1 MB / 3.507 GB, free: 221.9 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/5.81, allocations: 2.25 kB / 3.507 GB, free: 221.9 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/5.81, allocations: 70.78 kB / 3.507 GB, free: 221.9 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.843e-05/5.81, allocations: 30.16 kB / 3.507 GB, free: 221.9 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/5.81, allocations: 14.84 kB / 3.507 GB, free: 221.9 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/5.811, allocations: 1.156 MB / 3.508 GB, free: 220.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/5.811, allocations: 3.938 kB / 3.508 GB, free: 220.8 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009475/5.812, allocations: 0.7335 MB / 3.508 GB, free: 220.4 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001544/5.813, allocations: 1.333 MB / 3.51 GB, free: 219.7 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004438/5.814, allocations: 203.7 kB / 3.51 GB, free: 219.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/5.814, allocations: 6.906 kB / 3.51 GB, free: 219.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/5.815, allocations: 60.66 kB / 3.51 GB, free: 219.6 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/5.815, allocations: 25.66 kB / 3.51 GB, free: 219.6 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-05/5.815, allocations: 7.781 kB / 3.51 GB, free: 219.6 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0008098/5.816, allocations: 0.5334 MB / 3.511 GB, free: 219.5 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.003862/5.82, allocations: 0.7364 MB / 3.511 GB, free: 219.5 MB / 0.9402 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.002206/5.822, allocations: 1.456 MB / 3.513 GB, free: 219.1 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.001478/5.823, allocations: 0.7421 MB / 3.513 GB, free: 218.9 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/5.823, allocations: 3.844 kB / 3.513 GB, free: 218.9 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/5.824, allocations: 160.9 kB / 3.514 GB, free: 218.9 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/5.825, allocations: 248.9 kB / 3.514 GB, free: 218.9 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/5.827, allocations: 0.9709 MB / 3.515 GB, free: 218.6 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/5.828, allocations: 1.051 MB / 3.516 GB, free: 217.9 MB / 0.9402 GB Notification: Performance of SimCode: time 8.82e-07/5.828, allocations: 0 / 3.516 GB, free: 217.9 MB / 0.9402 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)