Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="Buildings_maint_7_0_x_Buildings_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.193/1.193, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 184.3 kB / 316 MB, free: 7.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 0.5667 GB, free: 23.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009299, allocations: 78.36 kB / 0.671 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.198/0.199, allocations: 112.5 MB / 0.7808 GB, free: 312 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.5994, allocations: 106.3 MB / 0.8846 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7248/1.324, allocations: 430 MB / 1.305 GB, free: 6.797 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/1.325, allocations: 90.14 kB / 1.305 GB, free: 6.754 MB / 0.823 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 2.606/3.931, allocations: 0.843 GB / 2.148 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/3.931, allocations: 7.812 kB / 2.148 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/3.934, allocations: 430.2 kB / 2.148 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03244/3.967, allocations: 14.25 MB / 2.162 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/3.967, allocations: 50.66 kB / 2.162 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005738/3.967, allocations: 86.56 kB / 2.162 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00245/3.97, allocations: 1.08 MB / 2.163 GB, free: 113 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/3.972, allocations: 1.354 MB / 2.164 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/3.972, allocations: 3.938 kB / 2.165 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/3.972, allocations: 8.047 kB / 2.165 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/3.972, allocations: 38.5 kB / 2.165 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009064/3.981, allocations: 7.538 MB / 2.172 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/3.983, allocations: 0.9489 MB / 2.173 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/3.983, allocations: 0.5517 MB / 2.173 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/3.987, allocations: 2.528 MB / 2.176 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/3.987, allocations: 45.28 kB / 2.176 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 2.185e-06/3.987, allocations: 3.469 kB / 2.176 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=87): time 0.002676/3.989, allocations: 1.298 MB / 2.177 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/3.989, allocations: 217.4 kB / 2.177 GB, free: 107 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/3.991, allocations: 1.461 MB / 2.179 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.216e-05/3.991, allocations: 29.3 kB / 2.179 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/3.992, allocations: 0.6284 MB / 2.179 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/3.992, allocations: 297.9 kB / 2.18 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/3.992, allocations: 2.156 kB / 2.18 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/3.992, allocations: 352 kB / 2.18 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/3.993, allocations: 432.9 kB / 2.18 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/3.993, allocations: 0.9056 MB / 2.181 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/3.995, allocations: 0.6659 MB / 2.182 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/3.995, allocations: 3.594 kB / 2.182 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00308/3.998, allocations: 1.617 MB / 2.184 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005644/3.999, allocations: 3.782 MB / 2.187 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/3.999, allocations: 15.17 kB / 2.187 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/3.999, allocations: 223.6 kB / 2.188 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/4, allocations: 269.7 kB / 2.188 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009849/4.001, allocations: 0.9538 MB / 2.189 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/4.003, allocations: 162.9 kB / 2.189 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/4.003, allocations: 91.78 kB / 2.189 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/4.003, allocations: 5.406 kB / 2.189 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00287/4.006, allocations: 1.326 MB / 2.19 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/4.006, allocations: 15.11 kB / 2.19 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/4.007, allocations: 229.2 kB / 2.19 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000906/4.008, allocations: 259.2 kB / 2.191 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005951/4.014, allocations: 3.834 MB / 2.194 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/4.016, allocations: 137.6 kB / 2.195 GB, free: 98.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/4.016, allocations: 77.44 kB / 2.195 GB, free: 98.72 MB / 0.8698 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 (126): * Single equations (assignments): 119 * 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.000342/4.016, allocations: 139 kB / 2.195 GB, free: 98.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/4.016, allocations: 202.1 kB / 2.195 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/4.02, allocations: 1.586 MB / 2.197 GB, free: 98.37 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/4.02, allocations: 13.22 kB / 2.197 GB, free: 98.37 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/4.02, allocations: 0 / 2.197 GB, free: 98.37 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002319/4.022, allocations: 1.166 MB / 2.198 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/4.028, allocations: 2.995 MB / 2.201 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/4.028, allocations: 2.781 kB / 2.201 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/4.029, allocations: 170.7 kB / 2.201 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/4.029, allocations: 148.3 kB / 2.201 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/4.029, allocations: 17.44 kB / 2.201 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000603/4.03, allocations: 0.802 MB / 2.202 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/4.03, allocations: 3.031 kB / 2.202 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00293/4.033, allocations: 1.95 MB / 2.204 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00433/4.037, allocations: 2.973 MB / 2.207 GB, free: 95.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/4.038, allocations: 406.9 kB / 2.207 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/4.039, allocations: 9.594 kB / 2.207 GB, free: 95.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/4.04, allocations: 80.08 kB / 2.207 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/4.04, allocations: 61.11 kB / 2.207 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/4.04, allocations: 43.67 kB / 2.207 GB, free: 95.69 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001807/4.042, allocations: 1.098 MB / 2.208 GB, free: 95.31 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005573/4.047, allocations: 1.689 MB / 2.21 GB, free: 94.62 MB / 0.8698 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.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 (87): * Single equations (assignments): 81 * 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.002483/4.05, allocations: 1.526 MB / 2.211 GB, free: 94.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00323/4.053, allocations: 2.118 MB / 2.213 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/4.053, allocations: 0 / 2.213 GB, free: 93.34 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/4.054, allocations: 0.5109 MB / 2.214 GB, free: 93.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/4.057, allocations: 0.841 MB / 2.215 GB, free: 92.97 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/4.062, allocations: 2.842 MB / 2.217 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/4.064, allocations: 1.815 MB / 2.219 GB, free: 91.07 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/4.064, allocations: 0 / 2.219 GB, free: 91.07 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsParallel.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)