Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsParallel",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/BuildSysPro 3.5.0/package.mo): time 0.6963/0.6963, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001264/0.001264, allocations: 185.3 kB / 164.4 MB, free: 6.859 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.601/1.601, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.001034/0.001034, allocations: 93.67 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.303/0.3041, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.4794, allocations: 76.74 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.603, allocations: 399.6 MB / 1.011 GB, free: 81.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.603, allocations: 91.69 kB / 1.011 GB, free: 81.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 3.224/4.827, allocations: 0.8356 GB / 1.847 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/4.827, allocations: 11.94 kB / 1.847 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/4.831, allocations: 0.5159 MB / 1.847 GB, free: 4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04253/4.874, allocations: 14.36 MB / 1.861 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/4.874, allocations: 40 kB / 1.861 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007148/4.875, allocations: 91.98 kB / 1.862 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002811/4.878, allocations: 1.075 MB / 1.863 GB, free: 4.461 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002482/4.88, allocations: 1.362 MB / 1.864 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/4.88, allocations: 0 / 1.864 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/4.88, allocations: 0 / 1.864 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-05/4.88, allocations: 36 kB / 1.864 GB, free: 2.969 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4192/5.3, allocations: 7.729 MB / 1.872 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/5.302, allocations: 0.9384 MB / 1.872 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008826/5.303, allocations: 0.5233 MB / 1.873 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004314/5.307, allocations: 2.219 MB / 1.875 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/5.307, allocations: 47.89 kB / 1.875 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=84): time 3.647e-06/5.307, allocations: 1.125 kB / 1.875 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=84): time 0.005454/5.312, allocations: 1.473 MB / 1.877 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/5.313, allocations: 216.7 kB / 1.877 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/5.315, allocations: 1.462 MB / 1.878 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001674/5.315, allocations: 29.52 kB / 1.878 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/5.316, allocations: 0.6344 MB / 1.879 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/5.316, allocations: 288 kB / 1.879 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.762e-05/5.316, allocations: 0 / 1.879 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001066/5.316, allocations: 349.2 kB / 1.879 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/5.317, allocations: 448.9 kB / 1.88 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008633/5.318, allocations: 0.9078 MB / 1.881 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/5.32, allocations: 0.6713 MB / 1.881 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/5.32, allocations: 2.906 kB / 1.881 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004051/5.324, allocations: 1.668 MB / 1.883 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001531/5.325, allocations: 3.979 MB / 1.887 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.304e-05/5.325, allocations: 14.11 kB / 1.887 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000824/5.326, allocations: 266 kB / 1.887 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/5.328, allocations: 270.3 kB / 1.888 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/5.329, allocations: 1.003 MB / 1.888 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/5.331, allocations: 174.4 kB / 1.889 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/5.332, allocations: 91.41 kB / 1.889 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/5.332, allocations: 4.125 kB / 1.889 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003406/5.335, allocations: 1.316 MB / 1.89 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/5.335, allocations: 16.34 kB / 1.89 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006995/5.336, allocations: 239.2 kB / 1.89 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/5.337, allocations: 257.8 kB / 1.891 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/5.344, allocations: 3.847 MB / 1.894 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/5.346, allocations: 135.3 kB / 1.894 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/5.346, allocations: 74.84 kB / 1.894 GB, free: 120.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004414/5.346, allocations: 137.5 kB / 1.895 GB, free: 120.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/5.347, allocations: 201 kB / 1.895 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/5.353, allocations: 1.773 MB / 1.897 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/5.353, allocations: 8.844 kB / 1.897 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/5.353, allocations: 0 / 1.897 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004334/5.357, allocations: 1.346 MB / 1.898 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/5.36, allocations: 1.337 MB / 1.899 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/5.36, allocations: 0 / 1.899 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/5.361, allocations: 164.6 kB / 1.899 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/5.361, allocations: 195.3 kB / 1.9 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.887e-05/5.361, allocations: 21.97 kB / 1.9 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008658/5.362, allocations: 0.8692 MB / 1.9 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/5.362, allocations: 1.312 kB / 1.9 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005758/5.368, allocations: 2.106 MB / 1.902 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007213/5.375, allocations: 3.117 MB / 1.905 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001499/5.377, allocations: 393.2 kB / 1.906 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007217/5.378, allocations: 10.77 kB / 1.906 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/5.379, allocations: 89.91 kB / 1.906 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/5.38, allocations: 56.56 kB / 1.906 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/5.38, allocations: 41.91 kB / 1.906 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002048/5.382, allocations: 1.094 MB / 1.907 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009599/5.391, allocations: 1.675 MB / 1.909 GB, free: 118.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.x[1],floMac1.filter.x[2],floMac2.vol.dynBal.U,floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00348/5.395, allocations: 1.568 MB / 1.91 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004315/5.399, allocations: 2.133 MB / 1.912 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/5.399, allocations: 0 / 1.912 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/5.4, allocations: 0.4997 MB / 1.913 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006012/5.406, allocations: 0.8231 MB / 1.914 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/5.417, allocations: 2.829 MB / 1.916 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003323/5.42, allocations: 1.806 MB / 1.918 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/5.42, allocations: 0 / 1.918 GB, free: 116.2 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsParallel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)