Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7315/0.7315, allocations: 141.8 MB / 149.1 MB, free: 3.984 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 186.1 kB / 181.9 MB, free: 15.71 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 436 MB, free: 8.809 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 98.75 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 284.5 kB / 0.5884 GB, free: 11.83 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.237e-05, allocations: 4 kB / 0.6759 GB, free: 2.203 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4965, allocations: 82.77 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.6242, allocations: 107 MB / 0.8612 GB, free: 5.293 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6245, allocations: 75.89 kB / 0.8612 GB, free: 5.219 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.0005576/0.6251, allocations: 102.9 kB / 0.8613 GB, free: 5.121 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6251, allocations: 0 / 0.8613 GB, free: 5.121 MB / 0.5263 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002189/0.6253, allocations: 305.7 kB / 0.8616 GB, free: 4.781 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6254, allocations: 13.03 kB / 0.8616 GB, free: 4.77 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.6254, allocations: 0.5938 kB / 0.8616 GB, free: 4.77 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.813e-05/0.6255, allocations: 163.1 kB / 0.8618 GB, free: 4.57 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.6256, allocations: 1.031 kB / 0.8618 GB, free: 4.57 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.6256, allocations: 3.938 kB / 0.8618 GB, free: 4.566 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.841e-05/0.6256, allocations: 7.906 kB / 0.8618 GB, free: 4.559 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.373e-05/0.6257, allocations: 36.92 kB / 0.8618 GB, free: 4.512 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6257, allocations: 5 kB / 0.8619 GB, free: 4.508 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6258, allocations: 0 / 0.8619 GB, free: 4.508 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6258, allocations: 0 / 0.8619 GB, free: 4.508 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.6259, allocations: 136.8 kB / 0.862 GB, free: 4.336 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 5.036e-05/0.626, allocations: 37.72 kB / 0.862 GB, free: 4.281 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/0.626, allocations: 15.25 kB / 0.862 GB, free: 4.262 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.626, allocations: 4.688 kB / 0.862 GB, free: 4.258 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.6261, allocations: 31.44 kB / 0.8621 GB, free: 4.219 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.6261, allocations: 0 / 0.8621 GB, free: 4.219 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.6262, allocations: 42.64 kB / 0.8621 GB, free: 4.172 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6263, allocations: 81.69 kB / 0.8622 GB, free: 4.074 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.314e-05/0.6263, allocations: 85.91 kB / 0.8623 GB, free: 3.984 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.6263, allocations: 26.64 kB / 0.8623 GB, free: 3.953 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.6263, allocations: 80.95 kB / 0.8624 GB, free: 3.871 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.6264, allocations: 11.84 kB / 0.8624 GB, free: 3.859 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.6264, allocations: 0.5625 kB / 0.8624 GB, free: 3.859 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.6265, allocations: 315.4 kB / 0.8627 GB, free: 3.543 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.031e-05/0.6265, allocations: 0.5625 kB / 0.8627 GB, free: 3.543 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.6265, allocations: 10.53 kB / 0.8627 GB, free: 3.527 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.6265, allocations: 5.344 kB / 0.8627 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6265, allocations: 0 / 0.8627 GB, free: 3.523 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.21e-05/0.6266, allocations: 46.28 kB / 0.8627 GB, free: 3.473 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6266, allocations: 5.969 kB / 0.8627 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6266, allocations: 0 / 0.8627 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.6267, allocations: 4.875 kB / 0.8628 GB, free: 3.465 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.6267, allocations: 7.938 kB / 0.8628 GB, free: 3.457 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6267, allocations: 4.625 kB / 0.8628 GB, free: 3.453 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.6268, allocations: 4.562 kB / 0.8628 GB, free: 3.449 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.6268, allocations: 0 / 0.8628 GB, free: 3.449 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 6.084e-05/0.6269, allocations: 103.4 kB / 0.8629 GB, free: 3.344 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.6269, allocations: 7.984 kB / 0.8629 GB, free: 3.336 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.627, allocations: 41.2 kB / 0.8629 GB, free: 3.289 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.627, allocations: 4.609 kB / 0.8629 GB, free: 3.285 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.627, allocations: 3.906 kB / 0.8629 GB, free: 3.281 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.627, allocations: 0.9375 kB / 0.8629 GB, free: 3.281 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.427e-05/0.6271, allocations: 130.2 kB / 0.863 GB, free: 3.117 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6271, allocations: 0 / 0.863 GB, free: 3.117 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.6271, allocations: 6.344 kB / 0.8631 GB, free: 3.113 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6271, allocations: 0.5938 kB / 0.8631 GB, free: 3.113 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.6272, allocations: 0 / 0.8631 GB, free: 3.113 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.6272, allocations: 0.7188 kB / 0.8631 GB, free: 3.113 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6272, allocations: 7.922 kB / 0.8631 GB, free: 3.105 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.768e-05/0.6273, allocations: 82.16 kB / 0.8631 GB, free: 3 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.6273, allocations: 77.61 kB / 0.8632 GB, free: 2.906 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.6273, allocations: 4.547 kB / 0.8632 GB, free: 2.902 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.754e-05/0.6273, allocations: 0 / 0.8632 GB, free: 2.902 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.6274, allocations: 4.562 kB / 0.8632 GB, free: 2.898 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.6274, allocations: 4.75 kB / 0.8632 GB, free: 2.895 MB / 0.5263 GB Notification: Performance of sort global known variables: time 2.04e-05/0.6274, allocations: 75.81 kB / 0.8633 GB, free: 2.82 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.000184/0.6276, allocations: 0 / 0.8633 GB, free: 2.82 MB / 0.5263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001144/0.6277, allocations: 96.59 kB / 0.8634 GB, free: 2.719 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 7.457e-05/0.6278, allocations: 12.44 kB / 0.8634 GB, free: 2.707 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6278, allocations: 0.8125 kB / 0.8634 GB, free: 2.707 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.6278, allocations: 8 kB / 0.8634 GB, free: 2.699 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001156/0.6279, allocations: 2.594 kB / 0.8634 GB, free: 2.699 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001852/0.6281, allocations: 54.2 kB / 0.8635 GB, free: 2.621 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.6283, allocations: 0.6853 MB / 0.8641 GB, free: 1.91 MB / 0.5263 GB Notification: Performance of SimCode: time 1.052e-06/0.6283, allocations: 0 / 0.8641 GB, free: 1.91 MB / 0.5263 GB Notification: Performance of Templates: time 0.001958/0.6303, allocations: 216.5 kB / 0.8643 GB, free: 1.711 MB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)