Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") [: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.6764/0.6764, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001164/0.001163, allocations: 181.3 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.519/1.519, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.0009603/0.0009602, allocations: 91.31 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.903e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.7073, allocations: 114.6 MB / 0.7329 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.7076, allocations: 91.94 kB / 0.733 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.03535/0.743, allocations: 11.14 MB / 0.7438 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.41e-05/0.7431, allocations: 7.984 kB / 0.7438 GB, free: 2.516 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001444/0.7446, allocations: 0.5327 MB / 0.7444 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/0.7447, allocations: 8.031 kB / 0.7444 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.7453, allocations: 55.58 kB / 0.7444 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.7471, allocations: 0.6235 MB / 0.745 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.7471, allocations: 0 / 0.745 GB, free: 1.215 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.7472, allocations: 8 kB / 0.745 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002593/0.7475, allocations: 119.9 kB / 0.7451 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.7477, allocations: 125.5 kB / 0.7453 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7477, allocations: 0 / 0.7453 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.7477, allocations: 0 / 0.7453 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.7478, allocations: 4 kB / 0.7453 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.7489, allocations: 484.9 kB / 0.7457 GB, free: 456 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.7492, allocations: 138.5 kB / 0.7459 GB, free: 308 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.7493, allocations: 68.77 kB / 0.7459 GB, free: 236 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.7494, allocations: 0 / 0.7459 GB, free: 236 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.7494, allocations: 30.56 kB / 0.746 GB, free: 196 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.7494, allocations: 0 / 0.746 GB, free: 196 kB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0007241/0.7501, allocations: 193.5 kB / 0.7461 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.7502, allocations: 55.41 kB / 0.7462 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.7506, allocations: 267.3 kB / 0.7465 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.7506, allocations: 25.7 kB / 0.7465 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.7507, allocations: 116.5 kB / 0.7466 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.7508, allocations: 31.55 kB / 0.7466 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.364e-05/0.7508, allocations: 0 / 0.7466 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7509, allocations: 330.8 kB / 0.7469 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.7511, allocations: 71.97 kB / 0.747 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.7513, allocations: 144.9 kB / 0.7471 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.7516, allocations: 85.41 kB / 0.7472 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.7516, allocations: 4 kB / 0.7472 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005813/0.7522, allocations: 257 kB / 0.7475 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003151/0.7526, allocations: 0.7032 MB / 0.7482 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7526, allocations: 0 / 0.7482 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.7526, allocations: 4 kB / 0.7482 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.7529, allocations: 47.95 kB / 0.7482 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.7529, allocations: 4 kB / 0.7482 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.7531, allocations: 31.73 kB / 0.7482 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.7532, allocations: 19.94 kB / 0.7483 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.7532, allocations: 7.938 kB / 0.7483 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004112/0.7536, allocations: 156.7 kB / 0.7484 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7537, allocations: 12.02 kB / 0.7484 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-06/0.7537, allocations: 0 / 0.7484 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.7539, allocations: 47.95 kB / 0.7485 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.7539, allocations: 11.88 kB / 0.7485 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.7541, allocations: 23.83 kB / 0.7485 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.7541, allocations: 16 kB / 0.7485 GB, free: 13.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001036/0.7543, allocations: 105 kB / 0.7486 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.7543, allocations: 27.61 kB / 0.7486 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.7548, allocations: 180.2 kB / 0.7488 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.7548, allocations: 0 / 0.7488 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7548, allocations: 0 / 0.7488 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.7548, allocations: 0 / 0.7488 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.7551, allocations: 238 kB / 0.749 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7551, allocations: 0 / 0.749 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.7553, allocations: 31.92 kB / 0.7491 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.7553, allocations: 4 kB / 0.7491 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.7553, allocations: 3.984 kB / 0.7491 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7553, allocations: 0 / 0.7491 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.7553, allocations: 4 kB / 0.7491 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003091/0.7556, allocations: 243.1 kB / 0.7493 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.7557, allocations: 96.77 kB / 0.7494 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.7558, allocations: 7.906 kB / 0.7494 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.7559, allocations: 11.98 kB / 0.7494 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.756, allocations: 3.984 kB / 0.7494 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.756, allocations: 4 kB / 0.7494 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002145/0.7562, allocations: 215.1 kB / 0.7496 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008441/0.7571, allocations: 175.7 kB / 0.7498 GB, free: 12.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001028/0.7581, allocations: 393.5 kB / 0.7502 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.7587, allocations: 257.6 kB / 0.7504 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7587, allocations: 0 / 0.7504 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.7588, allocations: 47.92 kB / 0.7505 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.7592, allocations: 86.66 kB / 0.7506 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007415/0.76, allocations: 320.1 kB / 0.7509 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/0.7605, allocations: 0.8148 MB / 0.7517 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.7605, allocations: 0 / 0.7517 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.01514/0.7756, allocations: 7.592 MB / 0.7591 GB, free: 2.527 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)