Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 249.4 MB / 256.7 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 189.2 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.2 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 90.36 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3625/0.3635, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.53, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.711/4.241, allocations: 2.182 GB / 3.067 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/4.241, allocations: 87.94 kB / 3.067 GB, free: 222.6 MB / 0.8698 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 2.824/7.065, allocations: 1.036 GB / 4.103 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/7.065, allocations: 12 kB / 4.103 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/7.067, allocations: 198.3 kB / 4.103 GB, free: 181.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/7.071, allocations: 1.428 MB / 4.105 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/7.071, allocations: 20 kB / 4.105 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/7.071, allocations: 44 kB / 4.105 GB, free: 180 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/7.072, allocations: 0.7248 MB / 4.105 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/7.073, allocations: 0.8603 MB / 4.106 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/7.073, allocations: 7.938 kB / 4.106 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.689e-05/7.073, allocations: 4 kB / 4.106 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/7.073, allocations: 16 kB / 4.106 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/7.077, allocations: 4.719 MB / 4.111 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/7.078, allocations: 0.5217 MB / 4.111 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/7.078, allocations: 449.4 kB / 4.112 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002812/7.078, allocations: 202.5 kB / 4.112 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003166/7.079, allocations: 308.8 kB / 4.112 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.304e-06/7.079, allocations: 4 kB / 4.112 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.002002/7.081, allocations: 0.9575 MB / 4.113 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/7.081, allocations: 81.11 kB / 4.113 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/7.082, allocations: 0.9178 MB / 4.114 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/7.082, allocations: 29.7 kB / 4.114 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/7.082, allocations: 352.2 kB / 4.115 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/7.082, allocations: 122.3 kB / 4.115 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/7.082, allocations: 0 / 4.115 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/7.082, allocations: 326 kB / 4.115 GB, free: 169 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/7.083, allocations: 224.9 kB / 4.115 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/7.083, allocations: 0.5537 MB / 4.116 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/7.083, allocations: 321.6 kB / 4.116 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/7.083, allocations: 4 kB / 4.116 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001753/7.085, allocations: 1.09 MB / 4.117 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003599/7.086, allocations: 2.103 MB / 4.119 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/7.086, allocations: 4 kB / 4.119 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/7.086, allocations: 374.8 kB / 4.119 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/7.087, allocations: 59.91 kB / 4.12 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/7.088, allocations: 1.422 MB / 4.121 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/7.089, allocations: 115.4 kB / 4.121 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/7.089, allocations: 28 kB / 4.121 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/7.089, allocations: 4 kB / 4.121 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/7.091, allocations: 0.7612 MB / 4.122 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/7.091, allocations: 4 kB / 4.122 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/7.091, allocations: 310.5 kB / 4.122 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/7.092, allocations: 67.89 kB / 4.122 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/7.096, allocations: 3.463 MB / 4.126 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/7.097, allocations: 108 kB / 4.126 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.5e-05/7.097, allocations: 31.89 kB / 4.126 GB, free: 157.5 MB / 0.8698 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.00027/7.097, allocations: 123.2 kB / 4.126 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002936/7.098, allocations: 98.78 kB / 4.126 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/7.099, allocations: 0.8533 MB / 4.127 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/7.099, allocations: 11.94 kB / 4.127 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/7.099, allocations: 4 kB / 4.127 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/7.099, allocations: 0 / 4.127 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002595/7.102, allocations: 1.795 MB / 4.129 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/7.102, allocations: 4.219 kB / 4.129 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/7.102, allocations: 31.92 kB / 4.129 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/7.102, allocations: 320.8 kB / 4.129 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/7.102, allocations: 8 kB / 4.129 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/7.103, allocations: 1.251 MB / 4.13 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/7.103, allocations: 15.91 kB / 4.13 GB, free: 153 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001208/7.105, allocations: 1.045 MB / 4.131 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001458/7.106, allocations: 1.471 MB / 4.133 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005465/7.107, allocations: 231.7 kB / 4.133 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/7.107, allocations: 4 kB / 4.133 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007594/7.108, allocations: 79.75 kB / 4.133 GB, free: 150 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/7.108, allocations: 39.86 kB / 4.133 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/7.108, allocations: 8 kB / 4.133 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007868/7.108, allocations: 0.7139 MB / 4.134 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003317/7.112, allocations: 0.7883 MB / 4.134 GB, free: 148.4 MB / 0.8698 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.001361/7.113, allocations: 1.223 MB / 4.136 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002171/7.115, allocations: 1.188 MB / 4.137 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/7.115, allocations: 0 / 4.137 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/7.116, allocations: 324.2 kB / 4.137 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/7.119, allocations: 0.5529 MB / 4.138 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/7.121, allocations: 1.491 MB / 4.139 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/7.122, allocations: 1.3 MB / 4.14 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of SimCode: time 9.91e-07/7.122, allocations: 0 / 4.14 GB, free: 142.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)