Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.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.PumpsParallel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7154/0.7154, allocations: 141.8 MB / 149.1 MB, free: 13.52 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 178.2 kB / 181.9 MB, free: 10.17 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.298/1.298, allocations: 221.4 MB / 436 MB, free: 2.68 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.0009418/0.0009418, allocations: 98.64 kB / 0.507 GB, free: 17.83 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001801/0.001801, allocations: 262 kB / 0.5884 GB, free: 4.195 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3772/0.379, allocations: 89.65 MB / 0.676 GB, free: 137.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.5247, allocations: 82.77 MB / 0.7568 GB, free: 83.88 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8732/1.398, allocations: 395.2 MB / 1.143 GB, free: 254.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/1.398, allocations: 91.19 kB / 1.143 GB, free: 254.9 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 2.444/3.842, allocations: 0.8743 GB / 2.017 GB, free: 74.55 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/3.842, allocations: 12.22 kB / 2.017 GB, free: 74.55 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/3.844, allocations: 429.6 kB / 2.018 GB, free: 74.42 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03175/3.876, allocations: 14.74 MB / 2.032 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/3.876, allocations: 38.62 kB / 2.032 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/3.876, allocations: 96.11 kB / 2.032 GB, free: 73.5 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001837/3.878, allocations: 1.076 MB / 2.033 GB, free: 73.49 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/3.88, allocations: 1.302 MB / 2.034 GB, free: 73.29 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/3.88, allocations: 10.39 kB / 2.034 GB, free: 73.29 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/3.88, allocations: 2.969 kB / 2.034 GB, free: 73.29 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/3.88, allocations: 51.86 kB / 2.034 GB, free: 73.29 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/3.889, allocations: 7.608 MB / 2.042 GB, free: 69.34 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/3.89, allocations: 0.5582 MB / 2.042 GB, free: 69.32 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/3.891, allocations: 0.5614 MB / 2.043 GB, free: 69.31 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004113/3.895, allocations: 2.647 MB / 2.046 GB, free: 68.03 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/3.895, allocations: 47.81 kB / 2.046 GB, free: 67.99 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=90): time 2.455e-06/3.895, allocations: 0 / 2.046 GB, free: 67.99 MB / 0.7138 GB Notification: Performance of matching and sorting (n=90): time 0.00291/3.898, allocations: 1.302 MB / 2.047 GB, free: 67.82 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/3.898, allocations: 63.69 kB / 2.047 GB, free: 67.76 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/3.899, allocations: 1.421 MB / 2.048 GB, free: 67.55 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/3.9, allocations: 29.33 kB / 2.048 GB, free: 67.52 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/3.9, allocations: 0.61 MB / 2.049 GB, free: 67.2 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/3.9, allocations: 305.3 kB / 2.049 GB, free: 67 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/3.9, allocations: 2.219 kB / 2.049 GB, free: 67 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/3.9, allocations: 354.7 kB / 2.05 GB, free: 66.69 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/3.901, allocations: 409.1 kB / 2.05 GB, free: 66.68 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/3.902, allocations: 0.8406 MB / 2.051 GB, free: 66.16 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/3.903, allocations: 0.6271 MB / 2.051 GB, free: 66.15 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/3.903, allocations: 3.531 kB / 2.051 GB, free: 66.15 MB / 0.7138 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002941/3.906, allocations: 1.556 MB / 2.053 GB, free: 65.98 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005522/3.907, allocations: 3.769 MB / 2.057 GB, free: 62.09 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/3.907, allocations: 9.688 kB / 2.057 GB, free: 62.09 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/3.907, allocations: 236.1 kB / 2.057 GB, free: 62.07 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/3.909, allocations: 270.6 kB / 2.057 GB, free: 62.07 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009103/3.909, allocations: 0.9531 MB / 2.058 GB, free: 61.55 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/3.911, allocations: 166.5 kB / 2.058 GB, free: 61.48 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/3.911, allocations: 80.2 kB / 2.058 GB, free: 61.48 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/3.911, allocations: 4.031 kB / 2.058 GB, free: 61.48 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/3.914, allocations: 1.279 MB / 2.059 GB, free: 61.45 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/3.914, allocations: 7.656 kB / 2.059 GB, free: 61.45 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006439/3.915, allocations: 224.8 kB / 2.06 GB, free: 61.44 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/3.916, allocations: 263.6 kB / 2.06 GB, free: 61.44 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/3.922, allocations: 3.845 MB / 2.064 GB, free: 59.77 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/3.924, allocations: 140.6 kB / 2.064 GB, free: 59.72 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/3.924, allocations: 72.14 kB / 2.064 GB, free: 59.72 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 121 * 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: 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.0003635/3.925, allocations: 132.8 kB / 2.064 GB, free: 59.61 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/3.925, allocations: 200.6 kB / 2.064 GB, free: 59.5 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/3.929, allocations: 1.603 MB / 2.066 GB, free: 59.39 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/3.929, allocations: 10.44 kB / 2.066 GB, free: 59.39 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/3.929, allocations: 0.5625 kB / 2.066 GB, free: 59.39 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001967/3.931, allocations: 1.157 MB / 2.067 GB, free: 59.2 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005891/3.936, allocations: 3.095 MB / 2.07 GB, free: 58.63 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.937, allocations: 3.844 kB / 2.07 GB, free: 58.63 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008911/3.937, allocations: 171.7 kB / 2.07 GB, free: 58.63 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/3.938, allocations: 140.5 kB / 2.07 GB, free: 58.62 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/3.938, allocations: 18.53 kB / 2.07 GB, free: 58.62 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005987/3.938, allocations: 0.7979 MB / 2.071 GB, free: 58.09 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/3.938, allocations: 2.188 kB / 2.071 GB, free: 58.09 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00316/3.942, allocations: 1.977 MB / 2.073 GB, free: 57.72 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004106/3.946, allocations: 2.981 MB / 2.076 GB, free: 56.98 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009773/3.947, allocations: 414.3 kB / 2.076 GB, free: 56.77 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/3.947, allocations: 8.656 kB / 2.076 GB, free: 56.77 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/3.948, allocations: 85.91 kB / 2.076 GB, free: 56.76 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/3.948, allocations: 59.66 kB / 2.076 GB, free: 56.75 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/3.948, allocations: 53.75 kB / 2.077 GB, free: 56.75 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.00147/3.95, allocations: 1.07 MB / 2.078 GB, free: 56.61 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.005308/3.955, allocations: 1.621 MB / 2.079 GB, free: 56.41 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/3.957, allocations: 1.468 MB / 2.081 GB, free: 56.06 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003235/3.961, allocations: 1.941 MB / 2.082 GB, free: 55.92 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/3.961, allocations: 0 / 2.082 GB, free: 55.92 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0007367/3.961, allocations: 0.526 MB / 2.083 GB, free: 55.91 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/3.965, allocations: 0.82 MB / 2.084 GB, free: 55.89 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/3.97, allocations: 2.801 MB / 2.087 GB, free: 55.16 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/3.971, allocations: 1.785 MB / 2.088 GB, free: 54.42 MB / 0.7138 GB Notification: Performance of SimCode: time 8.71e-07/3.971, allocations: 6.953 kB / 2.088 GB, free: 54.42 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)