Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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 8.0.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 185.2 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008001/0.0008003, allocations: 95.47 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2051/0.206, allocations: 121.4 MB / 0.8512 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.6678, allocations: 115.3 MB / 0.9638 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.597, allocations: 2.065 GB / 3.029 GB, free: 336.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/4.597, allocations: 91.39 kB / 3.029 GB, free: 336.6 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 3.28/7.876, allocations: 1.082 GB / 4.112 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/7.876, allocations: 7.531 kB / 4.112 GB, free: 246.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/7.878, allocations: 205.9 kB / 4.112 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/7.882, allocations: 1.452 MB / 4.113 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/7.882, allocations: 17.38 kB / 4.113 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/7.882, allocations: 44.97 kB / 4.113 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/7.883, allocations: 0.7259 MB / 4.114 GB, free: 246.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/7.884, allocations: 0.8598 MB / 4.115 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/7.884, allocations: 6.656 kB / 4.115 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/7.884, allocations: 0 / 4.115 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/7.884, allocations: 18.5 kB / 4.115 GB, free: 246.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/7.889, allocations: 4.691 MB / 4.12 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/7.889, allocations: 0.5092 MB / 4.12 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/7.89, allocations: 427 kB / 4.12 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/7.89, allocations: 202.7 kB / 4.121 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/7.89, allocations: 304.1 kB / 4.121 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=35): time 2.174e-06/7.89, allocations: 0 / 4.121 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=35): time 0.00186/7.892, allocations: 0.884 MB / 4.122 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/7.892, allocations: 90.36 kB / 4.122 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/7.893, allocations: 0.9192 MB / 4.123 GB, free: 242.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/7.893, allocations: 25.7 kB / 4.123 GB, free: 242.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/7.893, allocations: 360.8 kB / 4.123 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/7.894, allocations: 115.8 kB / 4.123 GB, free: 242 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/7.894, allocations: 3.609 kB / 4.123 GB, free: 242 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.719e-05/7.894, allocations: 326 kB / 4.124 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/7.894, allocations: 224 kB / 4.124 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/7.894, allocations: 0.5376 MB / 4.124 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/7.895, allocations: 317.3 kB / 4.125 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/7.895, allocations: 3.875 kB / 4.125 GB, free: 241.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001726/7.896, allocations: 1.015 MB / 4.126 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/7.897, allocations: 2.102 MB / 4.128 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/7.897, allocations: 10.28 kB / 4.128 GB, free: 239.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/7.897, allocations: 299.2 kB / 4.128 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/7.898, allocations: 72.36 kB / 4.128 GB, free: 239 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/7.899, allocations: 1.305 MB / 4.129 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/7.9, allocations: 108.5 kB / 4.129 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/7.9, allocations: 33.91 kB / 4.129 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/7.9, allocations: 3.719 kB / 4.129 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/7.902, allocations: 0.6866 MB / 4.13 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/7.902, allocations: 7.219 kB / 4.13 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/7.902, allocations: 242.5 kB / 4.13 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/7.902, allocations: 72.77 kB / 4.13 GB, free: 238.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/7.906, allocations: 2.956 MB / 4.133 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/7.907, allocations: 103.7 kB / 4.133 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/7.907, allocations: 26.41 kB / 4.133 GB, free: 237.1 MB / 0.9323 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000161/7.907, allocations: 129.8 kB / 4.134 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/7.907, allocations: 108.8 kB / 4.134 GB, free: 237 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/7.909, allocations: 0.7744 MB / 4.134 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/7.909, allocations: 3.969 kB / 4.134 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/7.909, allocations: 3.906 kB / 4.134 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/7.909, allocations: 7.172 kB / 4.134 GB, free: 236.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/7.911, allocations: 1.702 MB / 4.136 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/7.911, allocations: 3.906 kB / 4.136 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/7.911, allocations: 37.5 kB / 4.136 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003976/7.912, allocations: 259 kB / 4.136 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/7.912, allocations: 6.625 kB / 4.136 GB, free: 236.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009555/7.913, allocations: 1.146 MB / 4.137 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/7.913, allocations: 2.156 kB / 4.137 GB, free: 235.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001008/7.914, allocations: 0.9642 MB / 4.138 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001239/7.915, allocations: 1.418 MB / 4.14 GB, free: 234.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/7.915, allocations: 226.5 kB / 4.14 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/7.915, allocations: 3.438 kB / 4.14 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/7.916, allocations: 78.64 kB / 4.14 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/7.916, allocations: 38.36 kB / 4.14 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/7.916, allocations: 15.34 kB / 4.14 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0007438/7.917, allocations: 0.7153 MB / 4.141 GB, free: 234.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003143/7.92, allocations: 0.7928 MB / 4.142 GB, free: 234.5 MB / 0.9323 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/7.922, allocations: 1.29 MB / 4.143 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002003/7.924, allocations: 1.143 MB / 4.144 GB, free: 234 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/7.924, allocations: 2.969 kB / 4.144 GB, free: 234 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004753/7.924, allocations: 303.1 kB / 4.144 GB, free: 234 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/7.927, allocations: 0.5745 MB / 4.145 GB, free: 234 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/7.929, allocations: 1.473 MB / 4.146 GB, free: 233.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/7.93, allocations: 1.296 MB / 4.148 GB, free: 232.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.603e-06/7.93, allocations: 1.969 kB / 4.148 GB, free: 232.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)