Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries",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/BuildingSystems 2.0.0-master/package.mo): time 0.723/0.723, allocations: 141.8 MB / 149.1 MB, free: 4.465 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.001127/0.001127, allocations: 186.8 kB / 181.9 MB, free: 116 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 436 MB, free: 9.285 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.001002/0.001002, allocations: 105.6 kB / 0.507 GB, free: 24.07 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001892/0.001892, allocations: 270.5 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1947/0.1966, allocations: 89.66 MB / 0.676 GB, free: 2.574 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.5953, allocations: 82.75 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5983/1.194, allocations: 393.4 MB / 1.141 GB, free: 5.82 MB / 0.6669 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.194, allocations: 90.88 kB / 1.141 GB, free: 5.777 MB / 0.6669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 2.146/3.34, allocations: 0.6904 GB / 1.831 GB, free: 88.23 MB / 0.6825 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/3.341, allocations: 7.156 kB / 1.831 GB, free: 88.23 MB / 0.6825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/3.344, allocations: 0.5807 MB / 1.832 GB, free: 88 MB / 0.6825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0349/3.379, allocations: 14.29 MB / 1.846 GB, free: 78.1 MB / 0.6825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.884e-05/3.379, allocations: 42.69 kB / 1.846 GB, free: 78.06 MB / 0.6825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/3.379, allocations: 67.91 kB / 1.846 GB, free: 78 MB / 0.6825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00191/3.381, allocations: 0.8664 MB / 1.847 GB, free: 77.13 MB / 0.6825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/3.383, allocations: 1.046 MB / 1.848 GB, free: 76.04 MB / 0.6825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/3.383, allocations: 3.938 kB / 1.848 GB, free: 76.03 MB / 0.6825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/3.383, allocations: 0 / 1.848 GB, free: 76.03 MB / 0.6825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/3.383, allocations: 41.94 kB / 1.848 GB, free: 75.99 MB / 0.6825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007965/3.391, allocations: 5.602 MB / 1.854 GB, free: 70.18 MB / 0.6825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/3.392, allocations: 466.9 kB / 1.854 GB, free: 69.72 MB / 0.6825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/3.392, allocations: 378.6 kB / 1.854 GB, free: 69.35 MB / 0.6825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003398/3.396, allocations: 2.31 MB / 1.857 GB, free: 66.84 MB / 0.6825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/3.396, allocations: 46.47 kB / 1.857 GB, free: 66.79 MB / 0.6825 GB Notification: Performance of pre-optimization done (n=66): time 2.315e-06/3.396, allocations: 0 / 1.857 GB, free: 66.79 MB / 0.6825 GB Notification: Performance of matching and sorting (n=66): time 0.003723/3.399, allocations: 1.22 MB / 1.858 GB, free: 65.56 MB / 0.6825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/3.399, allocations: 63.98 kB / 1.858 GB, free: 65.49 MB / 0.6825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/3.401, allocations: 1.159 MB / 1.859 GB, free: 64.33 MB / 0.6825 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/3.401, allocations: 25.7 kB / 1.859 GB, free: 64.3 MB / 0.6825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/3.401, allocations: 0.4902 MB / 1.86 GB, free: 63.8 MB / 0.6825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/3.401, allocations: 220.6 kB / 1.86 GB, free: 63.58 MB / 0.6825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/3.401, allocations: 0 / 1.86 GB, free: 63.58 MB / 0.6825 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/3.401, allocations: 345.9 kB / 1.86 GB, free: 63.24 MB / 0.6825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/3.402, allocations: 345.9 kB / 1.86 GB, free: 62.9 MB / 0.6825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/3.403, allocations: 0.6833 MB / 1.861 GB, free: 62.07 MB / 0.6825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/3.404, allocations: 0.5537 MB / 1.862 GB, free: 61.53 MB / 0.6825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/3.404, allocations: 4 kB / 1.862 GB, free: 61.53 MB / 0.6825 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002851/3.407, allocations: 1.369 MB / 1.863 GB, free: 60.15 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005751/3.408, allocations: 3.318 MB / 1.866 GB, free: 56.56 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/3.408, allocations: 8 kB / 1.866 GB, free: 56.55 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/3.408, allocations: 292.1 kB / 1.866 GB, free: 56.27 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009553/3.409, allocations: 231.2 kB / 1.867 GB, free: 56.04 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/3.411, allocations: 1.567 MB / 1.868 GB, free: 54.43 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/3.412, allocations: 129.6 kB / 1.868 GB, free: 54.31 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/3.412, allocations: 67.95 kB / 1.868 GB, free: 54.24 MB / 0.6825 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-06/3.412, allocations: 4 kB / 1.868 GB, free: 54.24 MB / 0.6825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002614/3.415, allocations: 1.122 MB / 1.869 GB, free: 53.12 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.415, allocations: 8 kB / 1.869 GB, free: 53.11 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/3.416, allocations: 319.2 kB / 1.87 GB, free: 52.81 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/3.417, allocations: 215.6 kB / 1.87 GB, free: 52.6 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005615/3.422, allocations: 3.893 MB / 1.874 GB, free: 48.59 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/3.424, allocations: 108.5 kB / 1.874 GB, free: 48.48 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/3.424, allocations: 59.97 kB / 1.874 GB, free: 48.43 MB / 0.6825 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 91 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003043/3.424, allocations: 139.9 kB / 1.874 GB, free: 48.29 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/3.424, allocations: 154 kB / 1.874 GB, free: 48.13 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/3.428, allocations: 1.46 MB / 1.876 GB, free: 46.7 MB / 0.6825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/3.428, allocations: 11.98 kB / 1.876 GB, free: 46.69 MB / 0.6825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/3.428, allocations: 4 kB / 1.876 GB, free: 46.69 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/3.428, allocations: 3.984 kB / 1.876 GB, free: 46.68 MB / 0.6825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/3.432, allocations: 2.46 MB / 1.878 GB, free: 44.19 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/3.432, allocations: 0 / 1.878 GB, free: 44.19 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/3.433, allocations: 131.7 kB / 1.878 GB, free: 44.06 MB / 0.6825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005475/3.434, allocations: 228.6 kB / 1.878 GB, free: 43.84 MB / 0.6825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/3.434, allocations: 19.97 kB / 1.878 GB, free: 43.82 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/3.435, allocations: 1.454 MB / 1.88 GB, free: 42.32 MB / 0.6825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/3.435, allocations: 0 / 1.88 GB, free: 42.32 MB / 0.6825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00328/3.438, allocations: 1.809 MB / 1.882 GB, free: 40.46 MB / 0.6825 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00399/3.442, allocations: 2.738 MB / 1.884 GB, free: 37.68 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007587/3.443, allocations: 347.5 kB / 1.885 GB, free: 37.32 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/3.443, allocations: 4 kB / 1.885 GB, free: 37.32 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/3.444, allocations: 75.27 kB / 1.885 GB, free: 37.25 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/3.444, allocations: 53.02 kB / 1.885 GB, free: 37.2 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/3.444, allocations: 40.5 kB / 1.885 GB, free: 37.16 MB / 0.6825 GB Notification: Performance of sort global known variables: time 0.001133/3.445, allocations: 0.8778 MB / 1.886 GB, free: 36.29 MB / 0.6825 GB Notification: Performance of remove unused functions: time 0.004837/3.45, allocations: 1.264 MB / 1.887 GB, free: 35.02 MB / 0.6825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.002143/3.452, allocations: 1.265 MB / 1.888 GB, free: 33.89 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.002655/3.455, allocations: 1.636 MB / 1.89 GB, free: 32.25 MB / 0.6825 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/3.455, allocations: 0 / 1.89 GB, free: 32.25 MB / 0.6825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/3.456, allocations: 455.3 kB / 1.89 GB, free: 31.8 MB / 0.6825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/3.458, allocations: 0.6134 MB / 1.891 GB, free: 31.21 MB / 0.6825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/3.462, allocations: 2.215 MB / 1.893 GB, free: 28.95 MB / 0.6825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/3.463, allocations: 1.542 MB / 1.894 GB, free: 27.38 MB / 0.6825 GB Notification: Performance of SimCode: time 6.71e-07/3.463, allocations: 0 / 1.894 GB, free: 27.38 MB / 0.6825 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)