Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.9142/0.9142, allocations: 141.8 MB / 149.1 MB, free: 1.594 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.001642/0.001642, allocations: 184.2 kB / 181.9 MB, free: 1.027 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.437/1.437, allocations: 221.3 MB / 436 MB, free: 5.742 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.0009988/0.000999, allocations: 108.6 kB / 0.507 GB, free: 2.418 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 277.4 kB / 0.5884 GB, free: 47.48 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.889e-06/9.919e-06, allocations: 2.344 kB / 0.6759 GB, free: 59.78 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1877, allocations: 82.78 MB / 0.7567 GB, free: 0.9297 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5768/0.7645, allocations: 119.9 MB / 0.8738 GB, free: 35.64 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.7648, allocations: 85.72 kB / 0.8739 GB, free: 35.64 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.03187/0.7967, allocations: 10.86 MB / 0.8845 GB, free: 35.09 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 4.273e-05/0.7968, allocations: 11.89 kB / 0.8845 GB, free: 35.09 MB / 0.5419 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.001185/0.798, allocations: 0.5289 MB / 0.885 GB, free: 34.64 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.798, allocations: 7.812 kB / 0.885 GB, free: 34.64 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.7985, allocations: 49.7 kB / 0.885 GB, free: 34.62 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.7999, allocations: 0.6259 MB / 0.8857 GB, free: 34.38 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.8, allocations: 3.906 kB / 0.8857 GB, free: 34.38 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/0.8, allocations: 11.89 kB / 0.8857 GB, free: 34.37 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/0.8003, allocations: 118 kB / 0.8858 GB, free: 34.37 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.8005, allocations: 126.3 kB / 0.8859 GB, free: 34.33 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8005, allocations: 0 / 0.8859 GB, free: 34.33 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.8005, allocations: 0 / 0.8859 GB, free: 34.33 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8005, allocations: 11.69 kB / 0.8859 GB, free: 34.32 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008811/0.8014, allocations: 470.8 kB / 0.8864 GB, free: 34.07 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.8016, allocations: 138.5 kB / 0.8865 GB, free: 34.04 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.8017, allocations: 73.39 kB / 0.8866 GB, free: 34.03 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.8018, allocations: 0 / 0.8866 GB, free: 34.03 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.8018, allocations: 34.53 kB / 0.8866 GB, free: 33.99 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.8018, allocations: 0 / 0.8866 GB, free: 33.99 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.000516/0.8023, allocations: 196.3 kB / 0.8868 GB, free: 33.93 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.8024, allocations: 51.41 kB / 0.8868 GB, free: 33.87 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.8026, allocations: 259.4 kB / 0.8871 GB, free: 33.77 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.8027, allocations: 25.7 kB / 0.8871 GB, free: 33.73 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.8027, allocations: 129.4 kB / 0.8872 GB, free: 33.64 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.8028, allocations: 23.44 kB / 0.8873 GB, free: 33.62 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.8028, allocations: 0 / 0.8873 GB, free: 33.62 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.8029, allocations: 340.1 kB / 0.8876 GB, free: 33.31 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.803, allocations: 68.66 kB / 0.8876 GB, free: 33.31 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.8031, allocations: 136.8 kB / 0.8878 GB, free: 33.22 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.8034, allocations: 90.11 kB / 0.8879 GB, free: 33.22 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8034, allocations: 3.906 kB / 0.8879 GB, free: 33.22 MB / 0.5419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00049/0.8039, allocations: 254.2 kB / 0.8881 GB, free: 33.16 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.8041, allocations: 0.6976 MB / 0.8888 GB, free: 32.43 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8041, allocations: 4 kB / 0.8888 GB, free: 32.43 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.8041, allocations: 3.844 kB / 0.8888 GB, free: 32.43 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.8044, allocations: 49.89 kB / 0.8888 GB, free: 32.42 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.8044, allocations: 11.75 kB / 0.8889 GB, free: 32.41 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.8046, allocations: 26.98 kB / 0.8889 GB, free: 32.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.8047, allocations: 22.55 kB / 0.8889 GB, free: 32.4 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.8047, allocations: 6.719 kB / 0.8889 GB, free: 32.4 MB / 0.5419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003624/0.805, allocations: 156.1 kB / 0.8891 GB, free: 32.39 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8051, allocations: 3.875 kB / 0.8891 GB, free: 32.39 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.8051, allocations: 11.09 kB / 0.8891 GB, free: 32.39 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.8053, allocations: 50.03 kB / 0.8891 GB, free: 32.38 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.8053, allocations: 3.906 kB / 0.8891 GB, free: 32.38 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.8055, allocations: 23.08 kB / 0.8891 GB, free: 32.37 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.8055, allocations: 15.23 kB / 0.8892 GB, free: 32.37 MB / 0.5419 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 9.275e-05/0.8056, allocations: 108.9 kB / 0.8893 GB, free: 32.26 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.022e-05/0.8057, allocations: 27.34 kB / 0.8893 GB, free: 32.24 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004135/0.8061, allocations: 167.8 kB / 0.8895 GB, free: 32.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.8061, allocations: 3.516 kB / 0.8895 GB, free: 32.2 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8061, allocations: 0 / 0.8895 GB, free: 32.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8061, allocations: 0 / 0.8895 GB, free: 32.2 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.8064, allocations: 236.1 kB / 0.8897 GB, free: 32.04 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8064, allocations: 0 / 0.8897 GB, free: 32.04 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.8065, allocations: 37.58 kB / 0.8897 GB, free: 32.03 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.8066, allocations: 0 / 0.8897 GB, free: 32.03 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.8066, allocations: 0 / 0.8897 GB, free: 32.03 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8066, allocations: 3.906 kB / 0.8897 GB, free: 32.03 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8066, allocations: 0 / 0.8897 GB, free: 32.03 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002633/0.8069, allocations: 235.8 kB / 0.8899 GB, free: 31.88 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.8069, allocations: 116.3 kB / 0.8901 GB, free: 31.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.807, allocations: 0 / 0.8901 GB, free: 31.77 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.8072, allocations: 15.06 kB / 0.8901 GB, free: 31.77 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.8072, allocations: 13.84 kB / 0.8901 GB, free: 31.76 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.8072, allocations: 6.953 kB / 0.8901 GB, free: 31.76 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001838/0.8074, allocations: 212 kB / 0.8903 GB, free: 31.68 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008079/0.8082, allocations: 174.5 kB / 0.8905 GB, free: 31.64 MB / 0.5419 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.000817/0.8091, allocations: 397.3 kB / 0.8908 GB, free: 31.45 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.8095, allocations: 249.2 kB / 0.8911 GB, free: 31.43 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8096, allocations: 192 / 0.8911 GB, free: 31.43 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 7.217e-05/0.8096, allocations: 51.78 kB / 0.8911 GB, free: 31.43 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.8101, allocations: 83.31 kB / 0.8912 GB, free: 31.42 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.8108, allocations: 311.2 kB / 0.8915 GB, free: 31.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.8111, allocations: 0.8128 MB / 0.8923 GB, free: 30.59 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.8112, allocations: 0 / 0.8923 GB, free: 30.59 MB / 0.5419 GB Notification: Performance of Templates: time 0.01347/0.8246, allocations: 7.413 MB / 0.8995 GB, free: 29.86 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)