Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.147/2.147, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001404/0.001404, allocations: 177.4 kB / 487 MB, free: 5.344 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.531/1.531, allocations: 221.3 MB / 0.7819 GB, free: 1.316 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.001124/0.001124, allocations: 96.56 kB / 0.9213 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6599/0.6611, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.9466, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.171/5.118, allocations: 1.868 GB / 3.074 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/5.118, allocations: 87.34 kB / 3.074 GB, free: 434.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.04/8.159, allocations: 0.9699 GB / 4.044 GB, free: 350.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/8.159, allocations: 8.875 kB / 4.044 GB, free: 350.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008971/8.159, allocations: 193.5 kB / 4.044 GB, free: 350.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/8.162, allocations: 1.087 MB / 4.045 GB, free: 349.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/8.162, allocations: 16.22 kB / 4.045 GB, free: 349.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/8.162, allocations: 40.09 kB / 4.045 GB, free: 349.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008424/8.163, allocations: 499.3 kB / 4.046 GB, free: 349.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008998/8.164, allocations: 0.6809 MB / 4.046 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/8.164, allocations: 6.125 kB / 4.046 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/8.164, allocations: 5.391 kB / 4.046 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/8.164, allocations: 18.41 kB / 4.046 GB, free: 349.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004318/8.168, allocations: 4.661 MB / 4.051 GB, free: 345 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/8.169, allocations: 448.8 kB / 4.051 GB, free: 344.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/8.169, allocations: 257.1 kB / 4.051 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/8.17, allocations: 195.8 kB / 4.052 GB, free: 344.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003458/8.17, allocations: 261.9 kB / 4.052 GB, free: 344.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/8.17, allocations: 0 / 4.052 GB, free: 344.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001176/8.171, allocations: 0.5023 MB / 4.052 GB, free: 344.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/8.171, allocations: 88.94 kB / 4.052 GB, free: 344 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/8.172, allocations: 0.8721 MB / 4.053 GB, free: 343.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/8.173, allocations: 27.55 kB / 4.053 GB, free: 343.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/8.173, allocations: 339.8 kB / 4.054 GB, free: 343.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.771e-05/8.173, allocations: 102.7 kB / 4.054 GB, free: 343.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/8.173, allocations: 0 / 4.054 GB, free: 343.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/8.173, allocations: 331.9 kB / 4.054 GB, free: 342.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/8.173, allocations: 191.8 kB / 4.054 GB, free: 342.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/8.174, allocations: 0.4983 MB / 4.055 GB, free: 342.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/8.174, allocations: 282.5 kB / 4.055 GB, free: 342.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/8.174, allocations: 1.031 kB / 4.055 GB, free: 342.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001029/8.175, allocations: 0.6194 MB / 4.056 GB, free: 341.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003628/8.175, allocations: 2.098 MB / 4.058 GB, free: 339.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/8.176, allocations: 5.688 kB / 4.058 GB, free: 339.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/8.176, allocations: 12.91 kB / 4.058 GB, free: 339.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/8.177, allocations: 284.4 kB / 4.058 GB, free: 339.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/8.18, allocations: 6.234 MB / 4.064 GB, free: 333.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/8.181, allocations: 89.05 kB / 4.064 GB, free: 333.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/8.182, allocations: 19.53 kB / 4.064 GB, free: 333.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/8.182, allocations: 4.062 kB / 4.064 GB, free: 333.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005534/8.182, allocations: 427.3 kB / 4.065 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/8.182, allocations: 7.938 kB / 4.065 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/8.182, allocations: 14.03 kB / 4.065 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/8.183, allocations: 150 kB / 4.065 GB, free: 332.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/8.183, allocations: 15.92 kB / 4.065 GB, free: 332.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/8.183, allocations: 77.98 kB / 4.065 GB, free: 332.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/8.183, allocations: 20 kB / 4.065 GB, free: 332.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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001553/8.184, allocations: 124.8 kB / 4.065 GB, free: 332.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/8.184, allocations: 97.75 kB / 4.065 GB, free: 332.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006999/8.184, allocations: 454.7 kB / 4.065 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/8.184, allocations: 0 / 4.065 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.184, allocations: 4 kB / 4.065 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/8.185, allocations: 0 / 4.065 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/8.186, allocations: 1.283 MB / 4.067 GB, free: 330.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/8.186, allocations: 4 kB / 4.067 GB, free: 330.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/8.187, allocations: 151.5 kB / 4.067 GB, free: 330.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/8.187, allocations: 4 kB / 4.067 GB, free: 330.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/8.187, allocations: 11.98 kB / 4.067 GB, free: 330.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/8.189, allocations: 6.086 MB / 4.073 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/8.189, allocations: 7.781 kB / 4.073 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005847/8.189, allocations: 0.6397 MB / 4.073 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007281/8.19, allocations: 1.077 MB / 4.075 GB, free: 322.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/8.19, allocations: 203.9 kB / 4.075 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/8.191, allocations: 7.938 kB / 4.075 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/8.191, allocations: 58.7 kB / 4.075 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.167e-05/8.191, allocations: 31.75 kB / 4.075 GB, free: 322.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/8.191, allocations: 15.94 kB / 4.075 GB, free: 322 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007064/8.192, allocations: 0.6844 MB / 4.075 GB, free: 321.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002842/8.195, allocations: 0.6284 MB / 4.076 GB, free: 320.7 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001363/8.196, allocations: 1.032 MB / 4.077 GB, free: 319.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002908/8.199, allocations: 0.9476 MB / 4.078 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/8.199, allocations: 3.812 kB / 4.078 GB, free: 319 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007535/8.2, allocations: 283.5 kB / 4.078 GB, free: 318.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/8.202, allocations: 366.8 kB / 4.079 GB, free: 318.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/8.204, allocations: 1.388 MB / 4.08 GB, free: 316.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/8.205, allocations: 1.265 MB / 4.081 GB, free: 315.6 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/8.205, allocations: 3.938 kB / 4.081 GB, free: 315.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)