Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.633/1.633, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001514/0.001514, allocations: 189.2 kB / 366.3 MB, free: 1.988 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.503/1.503, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009243/0.0009243, allocations: 95.8 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3152/0.3162, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/1.064, allocations: 116.3 MB / 0.9727 GB, free: 68.57 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.773/5.837, allocations: 2.066 GB / 3.039 GB, free: 10.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/5.837, allocations: 99.88 kB / 3.039 GB, free: 9.957 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 4.04/9.877, allocations: 0.9744 GB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/9.877, allocations: 12 kB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/9.879, allocations: 194.4 kB / 4.014 GB, free: 132.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/9.882, allocations: 1.116 MB / 4.015 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/9.882, allocations: 19.98 kB / 4.015 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/9.882, allocations: 36 kB / 4.015 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009049/9.883, allocations: 489.7 kB / 4.015 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009709/9.884, allocations: 0.6889 MB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/9.884, allocations: 0 / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/9.884, allocations: 11.92 kB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/9.884, allocations: 12 kB / 4.016 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004965/9.889, allocations: 4.653 MB / 4.021 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/9.89, allocations: 454.4 kB / 4.021 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/9.89, allocations: 247.6 kB / 4.021 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003365/9.89, allocations: 194.2 kB / 4.021 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/9.891, allocations: 261.2 kB / 4.022 GB, free: 123.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.797e-06/9.891, allocations: 0 / 4.022 GB, free: 123.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002003/9.893, allocations: 0.7639 MB / 4.022 GB, free: 123.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/9.893, allocations: 85.09 kB / 4.022 GB, free: 123 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/9.894, allocations: 0.8717 MB / 4.023 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/9.894, allocations: 33.69 kB / 4.023 GB, free: 122.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/9.895, allocations: 344.7 kB / 4.024 GB, free: 121.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/9.895, allocations: 110.5 kB / 4.024 GB, free: 121.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/9.895, allocations: 0 / 4.024 GB, free: 121.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/9.895, allocations: 322 kB / 4.024 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/9.895, allocations: 188.8 kB / 4.024 GB, free: 121.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/9.896, allocations: 0.496 MB / 4.025 GB, free: 120.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/9.896, allocations: 282 kB / 4.025 GB, free: 120.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/9.896, allocations: 4 kB / 4.025 GB, free: 120.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001724/9.898, allocations: 0.876 MB / 4.026 GB, free: 119.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000458/9.898, allocations: 2.1 MB / 4.028 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/9.898, allocations: 15.92 kB / 4.028 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/9.899, allocations: 258.9 kB / 4.028 GB, free: 116.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/9.899, allocations: 59.91 kB / 4.028 GB, free: 116.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/9.901, allocations: 1.243 MB / 4.029 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009933/9.902, allocations: 79.53 kB / 4.03 GB, free: 115.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/9.902, allocations: 27.98 kB / 4.03 GB, free: 115.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/9.902, allocations: 5.719 kB / 4.03 GB, free: 115.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009495/9.903, allocations: 0.578 MB / 4.03 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/9.903, allocations: 4 kB / 4.03 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/9.903, allocations: 217.3 kB / 4.03 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/9.904, allocations: 67.84 kB / 4.03 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002765/9.906, allocations: 2.749 MB / 4.033 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009265/9.907, allocations: 75.69 kB / 4.033 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/9.907, allocations: 28 kB / 4.033 GB, free: 111.5 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/9.908, allocations: 132.7 kB / 4.033 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/9.908, allocations: 94.78 kB / 4.033 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/9.909, allocations: 0.6516 MB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/9.909, allocations: 4 kB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/9.909, allocations: 4 kB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/9.909, allocations: 4 kB / 4.034 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/9.911, allocations: 1.482 MB / 4.035 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/9.911, allocations: 4 kB / 4.035 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/9.911, allocations: 23.98 kB / 4.036 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003309/9.911, allocations: 212.9 kB / 4.036 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/9.911, allocations: 8 kB / 4.036 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009016/9.912, allocations: 1.098 MB / 4.037 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/9.912, allocations: 4 kB / 4.037 GB, free: 107.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008566/9.913, allocations: 0.8557 MB / 4.038 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00114/9.914, allocations: 1.273 MB / 4.039 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/9.915, allocations: 215.8 kB / 4.039 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/9.915, allocations: 4 kB / 4.039 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/9.916, allocations: 63.78 kB / 4.039 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/9.916, allocations: 27.97 kB / 4.039 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/9.916, allocations: 8 kB / 4.039 GB, free: 105 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008566/9.917, allocations: 0.6886 MB / 4.04 GB, free: 104.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003349/9.92, allocations: 0.6713 MB / 4.041 GB, free: 103.7 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/9.922, allocations: 1.11 MB / 4.042 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002293/9.924, allocations: 1.026 MB / 4.043 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/9.924, allocations: 0 / 4.043 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005425/9.924, allocations: 262 kB / 4.043 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/9.926, allocations: 372.1 kB / 4.043 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/9.929, allocations: 1.39 MB / 4.045 GB, free: 99.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/9.93, allocations: 1.262 MB / 4.046 GB, free: 98.16 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/9.93, allocations: 0 / 4.046 GB, free: 98.16 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)