Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.11/2.11, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 181.2 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.3 MB / 0.7819 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009612/0.000961, allocations: 94.86 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6301/0.6311, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.9078, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.499/5.407, allocations: 1.871 GB / 3.076 GB, free: 436 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/5.407, allocations: 89.11 kB / 3.076 GB, free: 436 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.273/8.681, allocations: 0.9821 GB / 4.058 GB, free: 349 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/8.681, allocations: 10.34 kB / 4.058 GB, free: 349 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/8.683, allocations: 190.9 kB / 4.059 GB, free: 348.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004996/8.688, allocations: 1.131 MB / 4.06 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/8.688, allocations: 19.16 kB / 4.06 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003037/8.688, allocations: 37.47 kB / 4.06 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001258/8.689, allocations: 496.2 kB / 4.06 GB, free: 347.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/8.69, allocations: 0.6765 MB / 4.061 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/8.69, allocations: 7.922 kB / 4.061 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/8.691, allocations: 8 kB / 4.061 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/8.691, allocations: 12 kB / 4.061 GB, free: 347 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/8.695, allocations: 4.666 MB / 4.065 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005116/8.696, allocations: 441 kB / 4.066 GB, free: 341.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/8.696, allocations: 249.3 kB / 4.066 GB, free: 341.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003538/8.697, allocations: 195.7 kB / 4.066 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/8.697, allocations: 270.8 kB / 4.067 GB, free: 340.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.375e-06/8.697, allocations: 0 / 4.067 GB, free: 340.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.002051/8.699, allocations: 0.7566 MB / 4.067 GB, free: 340.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/8.699, allocations: 91.78 kB / 4.067 GB, free: 340 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/8.7, allocations: 0.8746 MB / 4.068 GB, free: 339.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/8.701, allocations: 33.64 kB / 4.068 GB, free: 339.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/8.701, allocations: 337 kB / 4.069 GB, free: 338.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/8.701, allocations: 106.4 kB / 4.069 GB, free: 338.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/8.701, allocations: 4 kB / 4.069 GB, free: 338.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001128/8.701, allocations: 325.5 kB / 4.069 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/8.701, allocations: 188.8 kB / 4.069 GB, free: 338.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/8.702, allocations: 0.4991 MB / 4.07 GB, free: 337.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/8.702, allocations: 268.2 kB / 4.07 GB, free: 337.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/8.702, allocations: 4 kB / 4.07 GB, free: 337.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001862/8.704, allocations: 0.8851 MB / 4.071 GB, free: 336.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008313/8.705, allocations: 2.104 MB / 4.073 GB, free: 334.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/8.705, allocations: 4 kB / 4.073 GB, free: 334.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/8.706, allocations: 254.4 kB / 4.073 GB, free: 333.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/8.706, allocations: 67.84 kB / 4.073 GB, free: 333.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/8.708, allocations: 1.241 MB / 4.074 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/8.709, allocations: 84.38 kB / 4.074 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/8.709, allocations: 30.3 kB / 4.075 GB, free: 332.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/8.709, allocations: 4 kB / 4.075 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/8.711, allocations: 0.5817 MB / 4.075 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/8.711, allocations: 4 kB / 4.075 GB, free: 331.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/8.711, allocations: 220.5 kB / 4.075 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/8.711, allocations: 62.19 kB / 4.075 GB, free: 331.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/8.715, allocations: 2.757 MB / 4.078 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/8.717, allocations: 75.56 kB / 4.078 GB, free: 328.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/8.717, allocations: 20 kB / 4.078 GB, free: 328.7 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_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.0002672/8.717, allocations: 128.5 kB / 4.078 GB, free: 328.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/8.717, allocations: 98.78 kB / 4.078 GB, free: 328.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/8.719, allocations: 0.6499 MB / 4.079 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/8.719, allocations: 4 kB / 4.079 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/8.719, allocations: 3.938 kB / 4.079 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/8.719, allocations: 0 / 4.079 GB, free: 327.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/8.722, allocations: 1.48 MB / 4.08 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/8.722, allocations: 0 / 4.08 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/8.722, allocations: 31.92 kB / 4.08 GB, free: 326.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/8.722, allocations: 209.9 kB / 4.081 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/8.722, allocations: 8 kB / 4.081 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/8.723, allocations: 1.097 MB / 4.082 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/8.723, allocations: 0 / 4.082 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001029/8.724, allocations: 0.866 MB / 4.083 GB, free: 324 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001335/8.726, allocations: 1.281 MB / 4.084 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/8.726, allocations: 207.8 kB / 4.084 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/8.726, allocations: 4 kB / 4.084 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007338/8.727, allocations: 61.72 kB / 4.084 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-05/8.727, allocations: 27.91 kB / 4.084 GB, free: 322.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/8.727, allocations: 22.61 kB / 4.084 GB, free: 322.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008985/8.728, allocations: 0.6808 MB / 4.085 GB, free: 321.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003985/8.732, allocations: 0.6751 MB / 4.085 GB, free: 321 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_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.002376/8.735, allocations: 1.096 MB / 4.087 GB, free: 320.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002448/8.737, allocations: 1.019 MB / 4.088 GB, free: 319.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/8.737, allocations: 8.062 kB / 4.088 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/8.738, allocations: 259.4 kB / 4.088 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/8.74, allocations: 380.5 kB / 4.088 GB, free: 318.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/8.743, allocations: 1.393 MB / 4.09 GB, free: 317 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/8.744, allocations: 1.262 MB / 4.091 GB, free: 315.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/8.744, allocations: 4 kB / 4.091 GB, free: 315.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)