Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.7572/0.7572, allocations: 141.8 MB / 149.1 MB, free: 12.19 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.001221/0.001221, allocations: 178.5 kB / 181.9 MB, free: 8.918 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.376/1.376, allocations: 221.3 MB / 436 MB, free: 1.273 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.0009841/0.0009838, allocations: 109.8 kB / 0.507 GB, free: 10.1 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001937/0.001937, allocations: 291.1 kB / 0.5884 GB, free: 6.945 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2142/0.2162, allocations: 89.64 MB / 0.676 GB, free: 13.21 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.6727, allocations: 82.77 MB / 0.7568 GB, free: 138.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.03/4.703, allocations: 1.829 GB / 2.586 GB, free: 203.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/4.703, allocations: 96.81 kB / 2.586 GB, free: 203.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 2.844/7.547, allocations: 0.9695 GB / 3.555 GB, free: 16.75 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/7.547, allocations: 16 kB / 3.555 GB, free: 16.73 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/7.549, allocations: 190.4 kB / 3.555 GB, free: 16.55 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/7.553, allocations: 1.358 MB / 3.557 GB, free: 15.13 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/7.553, allocations: 16 kB / 3.557 GB, free: 15.12 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/7.554, allocations: 43.91 kB / 3.557 GB, free: 15.07 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008726/7.554, allocations: 0.5056 MB / 3.557 GB, free: 14.57 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/7.555, allocations: 0.7163 MB / 3.558 GB, free: 13.77 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/7.555, allocations: 4 kB / 3.558 GB, free: 13.77 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/7.555, allocations: 4 kB / 3.558 GB, free: 13.76 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/7.555, allocations: 12 kB / 3.558 GB, free: 13.75 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/7.559, allocations: 4.169 MB / 3.562 GB, free: 9.34 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000525/7.56, allocations: 486.2 kB / 3.563 GB, free: 8.852 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/7.56, allocations: 343.6 kB / 3.563 GB, free: 8.512 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/7.561, allocations: 198.2 kB / 3.563 GB, free: 8.281 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/7.561, allocations: 278.9 kB / 3.563 GB, free: 7.988 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.876e-06/7.561, allocations: 0 / 3.563 GB, free: 7.988 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001935/7.563, allocations: 0.8411 MB / 3.564 GB, free: 7.137 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/7.563, allocations: 81.11 kB / 3.564 GB, free: 7.039 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/7.564, allocations: 0.8714 MB / 3.565 GB, free: 6.148 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/7.564, allocations: 29.7 kB / 3.565 GB, free: 6.113 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/7.564, allocations: 328.2 kB / 3.565 GB, free: 5.789 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/7.564, allocations: 110.4 kB / 3.566 GB, free: 5.68 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/7.565, allocations: 4 kB / 3.566 GB, free: 5.676 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.683e-05/7.565, allocations: 326 kB / 3.566 GB, free: 5.352 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/7.565, allocations: 212.9 kB / 3.566 GB, free: 5.145 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/7.565, allocations: 0.5163 MB / 3.567 GB, free: 4.48 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/7.566, allocations: 302 kB / 3.567 GB, free: 4.188 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/7.566, allocations: 4 kB / 3.567 GB, free: 4.184 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00168/7.567, allocations: 0.9543 MB / 3.568 GB, free: 3.219 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004899/7.568, allocations: 2.098 MB / 3.57 GB, free: 0.9609 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/7.568, allocations: 8 kB / 3.57 GB, free: 0.9531 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/7.568, allocations: 275.4 kB / 3.57 GB, free: 0.6836 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/7.569, allocations: 79.94 kB / 3.57 GB, free: 0.6055 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2653/7.834, allocations: 1.258 MB / 3.571 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/7.835, allocations: 100.5 kB / 3.571 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/7.835, allocations: 25.2 kB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/7.835, allocations: 5.594 kB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/7.836, allocations: 0.6555 MB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/7.836, allocations: 7.438 kB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/7.837, allocations: 217 kB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/7.837, allocations: 72.39 kB / 3.572 GB, free: 232.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/7.84, allocations: 2.827 MB / 3.575 GB, free: 231 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009268/7.841, allocations: 92.36 kB / 3.575 GB, free: 231 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/7.841, allocations: 29.2 kB / 3.575 GB, free: 231 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001427/7.841, allocations: 128.3 kB / 3.575 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/7.841, allocations: 94.28 kB / 3.576 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/7.842, allocations: 0.7213 MB / 3.576 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/7.842, allocations: 3.625 kB / 3.576 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/7.842, allocations: 3.562 kB / 3.576 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/7.842, allocations: 3.891 kB / 3.576 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/7.844, allocations: 1.604 MB / 3.578 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/7.844, allocations: 3.969 kB / 3.578 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/7.845, allocations: 28.77 kB / 3.578 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/7.845, allocations: 237.1 kB / 3.578 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/7.845, allocations: 7.609 kB / 3.578 GB, free: 230.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008823/7.846, allocations: 1.103 MB / 3.579 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/7.846, allocations: 3.938 kB / 3.579 GB, free: 229.9 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009198/7.847, allocations: 0.9149 MB / 3.58 GB, free: 229.5 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001059/7.848, allocations: 1.345 MB / 3.581 GB, free: 228.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/7.848, allocations: 214 kB / 3.582 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/7.848, allocations: 13.61 kB / 3.582 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/7.849, allocations: 66.67 kB / 3.582 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/7.849, allocations: 32.2 kB / 3.582 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/7.849, allocations: 11.72 kB / 3.582 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008107/7.85, allocations: 0.6834 MB / 3.582 GB, free: 228.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003106/7.853, allocations: 0.6801 MB / 3.583 GB, free: 228.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001556/7.855, allocations: 1.041 MB / 3.584 GB, free: 228.3 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002107/7.857, allocations: 1.086 MB / 3.585 GB, free: 228.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/7.857, allocations: 0 / 3.585 GB, free: 228.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/7.857, allocations: 283.2 kB / 3.585 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/7.86, allocations: 0.521 MB / 3.586 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/7.862, allocations: 1.42 MB / 3.587 GB, free: 227.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/7.863, allocations: 1.263 MB / 3.588 GB, free: 227.1 MB / 0.6982 GB Notification: Performance of SimCode: time 4.9e-07/7.863, allocations: 0 / 3.588 GB, free: 227.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)