Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp",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.6886/0.6886, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001985/0.001985, allocations: 185.3 kB / 164.4 MB, free: 6.883 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.853/1.853, allocations: 205.1 MB / 399.1 MB, free: 6.156 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.001144/0.001144, allocations: 98.95 kB / 476.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3976/0.3988, allocations: 82.89 MB / 0.5461 GB, free: 17.1 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.5916, allocations: 76.75 MB / 0.621 GB, free: 4.277 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/6.078, allocations: 2.141 GB / 2.762 GB, free: 75.61 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/6.078, allocations: 99.55 kB / 2.762 GB, free: 75.52 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.668/9.746, allocations: 0.9608 GB / 3.723 GB, free: 76.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/9.747, allocations: 8 kB / 3.723 GB, free: 76.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/9.748, allocations: 186.5 kB / 3.723 GB, free: 76.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/9.753, allocations: 1.408 MB / 3.724 GB, free: 74.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/9.753, allocations: 16 kB / 3.724 GB, free: 74.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/9.753, allocations: 43.89 kB / 3.724 GB, free: 74.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009608/9.754, allocations: 0.5095 MB / 3.725 GB, free: 74.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/9.755, allocations: 0.6925 MB / 3.725 GB, free: 73.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/9.755, allocations: 7.938 kB / 3.725 GB, free: 73.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/9.755, allocations: 0 / 3.725 GB, free: 73.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/9.755, allocations: 16 kB / 3.726 GB, free: 73.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/9.76, allocations: 3.997 MB / 3.729 GB, free: 69.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005675/9.761, allocations: 479.1 kB / 3.73 GB, free: 68.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/9.761, allocations: 322.5 kB / 3.73 GB, free: 68.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/9.761, allocations: 194.2 kB / 3.73 GB, free: 68.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/9.762, allocations: 272.9 kB / 3.731 GB, free: 67.74 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 2.966e-06/9.762, allocations: 0 / 3.731 GB, free: 67.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32): time 0.003363/9.765, allocations: 0.941 MB / 3.732 GB, free: 66.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/9.765, allocations: 85.11 kB / 3.732 GB, free: 66.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/9.766, allocations: 0.8633 MB / 3.732 GB, free: 65.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.852e-05/9.767, allocations: 29.7 kB / 3.732 GB, free: 65.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/9.767, allocations: 340.7 kB / 3.733 GB, free: 65.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/9.767, allocations: 106.5 kB / 3.733 GB, free: 65.33 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/9.767, allocations: 4 kB / 3.733 GB, free: 65.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001039/9.767, allocations: 322 kB / 3.733 GB, free: 65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/9.768, allocations: 328.7 kB / 3.734 GB, free: 64.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/9.768, allocations: 0.6363 MB / 3.734 GB, free: 63.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004496/9.769, allocations: 393.9 kB / 3.735 GB, free: 63.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/9.769, allocations: 4 kB / 3.735 GB, free: 63.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001287/9.77, allocations: 0.8791 MB / 3.735 GB, free: 62.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004913/9.77, allocations: 2.017 MB / 3.737 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/9.77, allocations: 8 kB / 3.737 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/9.77, allocations: 8 kB / 3.737 GB, free: 60.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009537/9.78, allocations: 1.444 MB / 3.739 GB, free: 59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00828/9.788, allocations: 7.413 MB / 3.746 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/9.79, allocations: 163.5 kB / 3.746 GB, free: 51.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/9.79, allocations: 27.98 kB / 3.746 GB, free: 51.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/9.79, allocations: 10.44 kB / 3.746 GB, free: 51.16 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007732/9.791, allocations: 444.3 kB / 3.747 GB, free: 50.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/9.791, allocations: 7.984 kB / 3.747 GB, free: 50.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/9.791, allocations: 8 kB / 3.747 GB, free: 50.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/9.792, allocations: 159.2 kB / 3.747 GB, free: 50.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/9.792, allocations: 11.94 kB / 3.747 GB, free: 50.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/9.793, allocations: 91.5 kB / 3.747 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.072e-05/9.793, allocations: 24 kB / 3.747 GB, free: 50.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002829/9.794, allocations: 122.5 kB / 3.747 GB, free: 50.31 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/9.794, allocations: 90.88 kB / 3.747 GB, free: 50.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003366/9.794, allocations: 113.1 kB / 3.747 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/9.794, allocations: 4.234 kB / 3.747 GB, free: 50.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/9.794, allocations: 3.906 kB / 3.747 GB, free: 50.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/9.794, allocations: 3.984 kB / 3.747 GB, free: 50.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/9.797, allocations: 1.733 MB / 3.749 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/9.797, allocations: 0 / 3.749 GB, free: 48.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009197/9.807, allocations: 1.491 MB / 3.75 GB, free: 46.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/9.807, allocations: 7.938 kB / 3.75 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-05/9.807, allocations: 7.984 kB / 3.75 GB, free: 46.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/9.829, allocations: 16.77 MB / 3.767 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/9.829, allocations: 0 / 3.767 GB, free: 28.89 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001338/9.83, allocations: 0.8829 MB / 3.768 GB, free: 27.94 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001379/9.831, allocations: 1.309 MB / 3.769 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/9.832, allocations: 175.9 kB / 3.769 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003243/9.832, allocations: 4 kB / 3.769 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/9.834, allocations: 131.7 kB / 3.769 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/9.834, allocations: 23.95 kB / 3.769 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-05/9.834, allocations: 19.98 kB / 3.769 GB, free: 26.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0009619/9.835, allocations: 0.6765 MB / 3.77 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003886/9.839, allocations: 0.7063 MB / 3.771 GB, free: 24.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001611/9.84, allocations: 1.102 MB / 3.772 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01411/9.854, allocations: 2.843 MB / 3.774 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/9.854, allocations: 1.25 kB / 3.774 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01224/9.867, allocations: 2.197 MB / 3.777 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/9.87, allocations: 0.5234 MB / 3.777 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/9.874, allocations: 1.608 MB / 3.779 GB, free: 16.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/9.875, allocations: 1.267 MB / 3.78 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/9.875, allocations: 0 / 3.78 GB, free: 15.17 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)