Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.176/1.176, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 189.7 kB / 316 MB, free: 7.184 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008135/0.0008135, allocations: 76.77 kB / 0.671 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1923/0.1931, allocations: 112.5 MB / 0.7808 GB, free: 280 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.5699, allocations: 106.3 MB / 0.8846 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.835/4.405, allocations: 2.198 GB / 3.083 GB, free: 307.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/4.405, allocations: 93.11 kB / 3.083 GB, free: 307.7 MB / 0.8698 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.266/5.671, allocations: 446.6 MB / 3.519 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/5.671, allocations: 12 kB / 3.519 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009821/5.672, allocations: 178.7 kB / 3.519 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/5.673, allocations: 0.8115 MB / 3.52 GB, free: 190.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/5.673, allocations: 12 kB / 3.52 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/5.673, allocations: 28 kB / 3.52 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004402/5.674, allocations: 281.5 kB / 3.52 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005387/5.674, allocations: 436.8 kB / 3.521 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/5.674, allocations: 0 / 3.521 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/5.674, allocations: 4 kB / 3.521 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/5.674, allocations: 8 kB / 3.521 GB, free: 190 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/5.676, allocations: 1.917 MB / 3.522 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004778/5.677, allocations: 310.5 kB / 3.523 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/5.677, allocations: 136.8 kB / 3.523 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/5.677, allocations: 198 kB / 3.523 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/5.677, allocations: 42.56 kB / 3.523 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.013e-06/5.677, allocations: 0 / 3.523 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.00104/5.678, allocations: 395.5 kB / 3.524 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/5.679, allocations: 213.6 kB / 3.524 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007578/5.679, allocations: 0.672 MB / 3.524 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/5.679, allocations: 29.7 kB / 3.524 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/5.68, allocations: 237.7 kB / 3.525 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/5.68, allocations: 90.66 kB / 3.525 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/5.68, allocations: 0 / 3.525 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.152e-05/5.68, allocations: 325.8 kB / 3.525 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/5.68, allocations: 132.2 kB / 3.525 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/5.68, allocations: 333.5 kB / 3.525 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/5.68, allocations: 180.1 kB / 3.526 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/5.68, allocations: 0 / 3.526 GB, free: 184.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007883/5.681, allocations: 481.9 kB / 3.526 GB, free: 184 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/5.681, allocations: 279.4 kB / 3.526 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/5.681, allocations: 0 / 3.526 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/5.682, allocations: 36.84 kB / 3.526 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/5.682, allocations: 83.92 kB / 3.526 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005716/5.683, allocations: 1.177 MB / 3.528 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/5.684, allocations: 95.86 kB / 3.528 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/5.684, allocations: 23.98 kB / 3.528 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/5.684, allocations: 4 kB / 3.528 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006074/5.684, allocations: 330.2 kB / 3.528 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/5.684, allocations: 11.89 kB / 3.528 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/5.684, allocations: 44.83 kB / 3.528 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/5.685, allocations: 75.89 kB / 3.528 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/5.686, allocations: 1.392 MB / 3.53 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008278/5.687, allocations: 95.8 kB / 3.53 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/5.687, allocations: 19.98 kB / 3.53 GB, free: 180.1 MB / 0.8698 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.0001459/5.687, allocations: 118.7 kB / 3.53 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/5.687, allocations: 71.16 kB / 3.53 GB, free: 180 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/5.688, allocations: 410 kB / 3.53 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/5.688, allocations: 8 kB / 3.53 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/5.688, allocations: 0 / 3.53 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/5.688, allocations: 3.984 kB / 3.53 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/5.689, allocations: 1.096 MB / 3.531 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/5.689, allocations: 4 kB / 3.531 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/5.69, allocations: 72.08 kB / 3.531 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/5.69, allocations: 28.84 kB / 3.531 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/5.69, allocations: 12 kB / 3.531 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004243/5.69, allocations: 1.162 MB / 3.533 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/5.69, allocations: 0 / 3.533 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007628/5.691, allocations: 0.7297 MB / 3.533 GB, free: 176.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001231/5.692, allocations: 1.339 MB / 3.535 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00029/5.693, allocations: 212 kB / 3.535 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/5.693, allocations: 4 kB / 3.535 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/5.693, allocations: 55.94 kB / 3.535 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/5.693, allocations: 23.88 kB / 3.535 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/5.693, allocations: 15.98 kB / 3.535 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005875/5.694, allocations: 0.5304 MB / 3.535 GB, free: 174 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003052/5.697, allocations: 0.7413 MB / 3.536 GB, free: 173.2 MB / 0.8698 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.001823/5.699, allocations: 1.454 MB / 3.538 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0014/5.7, allocations: 0.7453 MB / 3.538 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/5.7, allocations: 0 / 3.538 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/5.701, allocations: 155.8 kB / 3.538 GB, free: 171 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/5.702, allocations: 252.3 kB / 3.539 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/5.704, allocations: 0.9598 MB / 3.54 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000557/5.704, allocations: 1.055 MB / 3.541 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.223e-06/5.704, allocations: 0 / 3.541 GB, free: 168.7 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)