Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.086/2.086, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 182.5 kB / 487 MB, free: 0.75 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.3 MB / 0.7819 GB, free: 6.801 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 103.8 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3294/0.3304, allocations: 148.5 MB / 1.066 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/1.245, allocations: 142.3 MB / 1.205 GB, free: 72.84 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.258/5.503, allocations: 1.871 GB / 3.076 GB, free: 177.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/5.503, allocations: 82.7 kB / 3.076 GB, free: 177.2 MB / 1.151 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.869/9.372, allocations: 1.091 GB / 4.167 GB, free: 328.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/9.372, allocations: 12.06 kB / 4.167 GB, free: 328.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/9.374, allocations: 198.9 kB / 4.168 GB, free: 328.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/9.378, allocations: 1.454 MB / 4.169 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/9.378, allocations: 21.5 kB / 4.169 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/9.379, allocations: 40.78 kB / 4.169 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/9.38, allocations: 0.72 MB / 4.17 GB, free: 328.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/9.381, allocations: 0.8671 MB / 4.171 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/9.381, allocations: 0 / 4.171 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/9.381, allocations: 5.5 kB / 4.171 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/9.381, allocations: 18.72 kB / 4.171 GB, free: 328.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004447/9.386, allocations: 4.692 MB / 4.175 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/9.386, allocations: 0.5165 MB / 4.176 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/9.387, allocations: 434.2 kB / 4.176 GB, free: 325 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/9.387, allocations: 197.4 kB / 4.176 GB, free: 324.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/9.387, allocations: 303.1 kB / 4.177 GB, free: 324.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/9.387, allocations: 1.688 kB / 4.177 GB, free: 324.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002064/9.389, allocations: 0.8916 MB / 4.178 GB, free: 324.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/9.389, allocations: 83.11 kB / 4.178 GB, free: 324.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/9.391, allocations: 0.9154 MB / 4.178 GB, free: 324.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/9.391, allocations: 33.7 kB / 4.179 GB, free: 324.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/9.391, allocations: 349.6 kB / 4.179 GB, free: 324.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/9.391, allocations: 119 kB / 4.179 GB, free: 324.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/9.391, allocations: 0 / 4.179 GB, free: 324.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/9.391, allocations: 329.6 kB / 4.179 GB, free: 323.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/9.391, allocations: 216 kB / 4.179 GB, free: 323.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/9.392, allocations: 0.5472 MB / 4.18 GB, free: 323.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/9.392, allocations: 318.7 kB / 4.18 GB, free: 323.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/9.392, allocations: 3.375 kB / 4.18 GB, free: 323.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001947/9.394, allocations: 1.014 MB / 4.181 GB, free: 323.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004747/9.395, allocations: 2.105 MB / 4.183 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/9.395, allocations: 7.469 kB / 4.183 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/9.395, allocations: 295.3 kB / 4.184 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/9.396, allocations: 82.83 kB / 4.184 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001844/9.398, allocations: 1.304 MB / 4.185 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/9.399, allocations: 117.4 kB / 4.185 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/9.399, allocations: 28.25 kB / 4.185 GB, free: 320.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/9.399, allocations: 2.5 kB / 4.185 GB, free: 320.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001263/9.4, allocations: 0.6953 MB / 4.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.4, allocations: 6.875 kB / 4.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/9.401, allocations: 237.4 kB / 4.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/9.401, allocations: 67.77 kB / 4.186 GB, free: 320.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003744/9.405, allocations: 2.952 MB / 4.189 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/9.406, allocations: 102.4 kB / 4.189 GB, free: 319.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/9.406, allocations: 20.94 kB / 4.189 GB, free: 319.2 MB / 1.151 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.0001972/9.407, allocations: 126.7 kB / 4.189 GB, free: 319.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/9.407, allocations: 110.4 kB / 4.189 GB, free: 319 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/9.408, allocations: 0.786 MB / 4.19 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/9.408, allocations: 3.625 kB / 4.19 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/9.408, allocations: 0 / 4.19 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/9.408, allocations: 11.23 kB / 4.19 GB, free: 318.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/9.411, allocations: 1.687 MB / 4.192 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/9.411, allocations: 3.594 kB / 4.192 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/9.411, allocations: 43.38 kB / 4.192 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/9.411, allocations: 261.1 kB / 4.192 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/9.411, allocations: 6.594 kB / 4.192 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/9.412, allocations: 1.148 MB / 4.193 GB, free: 317.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/9.412, allocations: 3.938 kB / 4.193 GB, free: 317.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00121/9.414, allocations: 0.9646 MB / 4.194 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001529/9.415, allocations: 1.407 MB / 4.196 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/9.416, allocations: 234.2 kB / 4.196 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/9.416, allocations: 7.656 kB / 4.196 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/9.417, allocations: 73.98 kB / 4.196 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/9.417, allocations: 37.56 kB / 4.196 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/9.417, allocations: 11.38 kB / 4.196 GB, free: 316.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001005/9.418, allocations: 0.7231 MB / 4.197 GB, free: 316.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004218/9.422, allocations: 0.7864 MB / 4.197 GB, free: 316.5 MB / 1.151 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.00236/9.425, allocations: 1.282 MB / 4.199 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002479/9.427, allocations: 1.158 MB / 4.2 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/9.427, allocations: 0 / 4.2 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/9.428, allocations: 316.3 kB / 4.2 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/9.431, allocations: 0.554 MB / 4.201 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/9.434, allocations: 1.482 MB / 4.202 GB, free: 315.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/9.434, allocations: 1.296 MB / 4.203 GB, free: 314.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.72e-07/9.434, allocations: 0 / 4.203 GB, free: 314.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)