Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 289.8 MB / 297 MB, free: 6.664 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.001345/0.001345, allocations: 185.3 kB / 366.3 MB, free: 1.984 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.802/1.802, allocations: 205.2 MB / 0.6256 GB, free: 7.516 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.001085/0.001085, allocations: 81.02 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3249/0.326, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/1.165, allocations: 116.3 MB / 0.9726 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.869/6.034, allocations: 2.064 GB / 3.036 GB, free: 10.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/6.034, allocations: 91.94 kB / 3.036 GB, free: 10.67 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 4.072/10.11, allocations: 1.073 GB / 4.11 GB, free: 32.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/10.11, allocations: 16 kB / 4.11 GB, free: 32.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/10.11, allocations: 198.3 kB / 4.11 GB, free: 32.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/10.11, allocations: 1.429 MB / 4.111 GB, free: 31.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/10.11, allocations: 20 kB / 4.111 GB, free: 31.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/10.11, allocations: 40 kB / 4.111 GB, free: 31.01 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009795/10.11, allocations: 0.7248 MB / 4.112 GB, free: 30.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/10.11, allocations: 0.8643 MB / 4.113 GB, free: 29.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/10.11, allocations: 11.92 kB / 4.113 GB, free: 29.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/10.11, allocations: 3.906 kB / 4.113 GB, free: 29.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/10.11, allocations: 16 kB / 4.113 GB, free: 29.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004113/10.12, allocations: 4.709 MB / 4.118 GB, free: 24.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/10.12, allocations: 0.5189 MB / 4.118 GB, free: 23.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/10.12, allocations: 450.4 kB / 4.118 GB, free: 23.31 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/10.12, allocations: 194.5 kB / 4.119 GB, free: 23.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/10.12, allocations: 308.9 kB / 4.119 GB, free: 22.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/10.12, allocations: 4 kB / 4.119 GB, free: 22.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002081/10.12, allocations: 0.9731 MB / 4.12 GB, free: 21.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/10.12, allocations: 85.05 kB / 4.12 GB, free: 21.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/10.12, allocations: 0.9139 MB / 4.121 GB, free: 20.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/10.12, allocations: 29.7 kB / 4.121 GB, free: 20.71 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/10.12, allocations: 353.2 kB / 4.121 GB, free: 20.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/10.12, allocations: 122.3 kB / 4.121 GB, free: 20.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/10.12, allocations: 0 / 4.121 GB, free: 20.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/10.12, allocations: 318 kB / 4.122 GB, free: 19.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/10.12, allocations: 228.9 kB / 4.122 GB, free: 19.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/10.12, allocations: 0.5498 MB / 4.122 GB, free: 19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/10.12, allocations: 321.9 kB / 4.123 GB, free: 18.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/10.12, allocations: 4 kB / 4.123 GB, free: 18.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001805/10.13, allocations: 1.086 MB / 4.124 GB, free: 17.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004061/10.13, allocations: 2.104 MB / 4.126 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/10.13, allocations: 4 kB / 4.126 GB, free: 15.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006942/10.13, allocations: 368 kB / 4.126 GB, free: 14.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/10.13, allocations: 75.75 kB / 4.126 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/10.13, allocations: 1.42 MB / 4.128 GB, free: 13.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/10.13, allocations: 115.4 kB / 4.128 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/10.13, allocations: 24 kB / 4.128 GB, free: 13.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/10.13, allocations: 6.5 kB / 4.128 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/10.13, allocations: 0.7693 MB / 4.129 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/10.13, allocations: 4 kB / 4.129 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/10.13, allocations: 315.3 kB / 4.129 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/10.13, allocations: 59.91 kB / 4.129 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/10.14, allocations: 3.471 MB / 4.132 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/10.14, allocations: 107.6 kB / 4.132 GB, free: 8.465 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/10.14, allocations: 24 kB / 4.132 GB, free: 8.441 MB / 0.948 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 (34): * Single equations (assignments): 32 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002125/10.14, allocations: 130.2 kB / 4.133 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/10.14, allocations: 102.9 kB / 4.133 GB, free: 8.207 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/10.14, allocations: 0.8545 MB / 4.133 GB, free: 7.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/10.14, allocations: 4 kB / 4.133 GB, free: 7.336 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/10.14, allocations: 4 kB / 4.133 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/10.14, allocations: 4 kB / 4.133 GB, free: 7.328 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/10.14, allocations: 1.783 MB / 4.135 GB, free: 5.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/10.14, allocations: 0 / 4.135 GB, free: 5.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/10.14, allocations: 36.12 kB / 4.135 GB, free: 5.445 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005627/10.14, allocations: 323.7 kB / 4.136 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/10.14, allocations: 7.984 kB / 4.136 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/10.14, allocations: 1.255 MB / 4.137 GB, free: 3.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/10.14, allocations: 7.938 kB / 4.137 GB, free: 3.832 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001184/10.15, allocations: 1.045 MB / 4.138 GB, free: 2.707 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001356/10.15, allocations: 1.472 MB / 4.139 GB, free: 1.152 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/10.15, allocations: 239.7 kB / 4.139 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/10.15, allocations: 7.984 kB / 4.14 GB, free: 0.8906 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/10.15, allocations: 75.75 kB / 4.14 GB, free: 0.8164 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.056e-05/10.15, allocations: 31.97 kB / 4.14 GB, free: 0.7852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/10.15, allocations: 15.98 kB / 4.14 GB, free: 0.7695 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009134/10.15, allocations: 0.71 MB / 4.14 GB, free: 52 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.5018/10.65, allocations: 0.7921 MB / 4.141 GB, free: 336.5 MB / 0.948 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 (12): * Single equations (assignments): 9 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001792/10.65, allocations: 1.212 MB / 4.142 GB, free: 336.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002474/10.66, allocations: 1.19 MB / 4.143 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/10.66, allocations: 0 / 4.143 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/10.66, allocations: 325.2 kB / 4.144 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/10.66, allocations: 0.5624 MB / 4.144 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/10.66, allocations: 1.492 MB / 4.146 GB, free: 335.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/10.66, allocations: 1.289 MB / 4.147 GB, free: 335 MB / 0.948 GB Notification: Performance of SimCode: time 9.62e-07/10.66, allocations: 0 / 4.147 GB, free: 335 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)