Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.359/1.359, allocations: 285.5 MB / 292.8 MB, free: 14.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 185.2 kB / 361.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 0.6195 GB, free: 2.91 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.0008771, allocations: 90.55 kB / 0.7326 GB, free: 53.9 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2399/0.2408, allocations: 121.5 MB / 0.8512 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.4815, allocations: 115.3 MB / 0.9638 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.929/4.411, allocations: 2.065 GB / 3.029 GB, free: 175 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/4.411, allocations: 95.48 kB / 3.029 GB, free: 174.9 MB / 0.9512 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 2.817/7.229, allocations: 0.9744 GB / 4.004 GB, free: 263.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/7.229, allocations: 7.875 kB / 4.004 GB, free: 263.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/7.23, allocations: 188 kB / 4.004 GB, free: 263.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/7.233, allocations: 1.117 MB / 4.005 GB, free: 263.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/7.233, allocations: 15.72 kB / 4.005 GB, free: 263.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/7.233, allocations: 38.59 kB / 4.005 GB, free: 263.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007331/7.234, allocations: 493.3 kB / 4.005 GB, free: 263.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008478/7.234, allocations: 0.6926 MB / 4.006 GB, free: 263.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/7.234, allocations: 3.656 kB / 4.006 GB, free: 263.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/7.235, allocations: 3.25 kB / 4.006 GB, free: 263.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/7.235, allocations: 11.66 kB / 4.006 GB, free: 263.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/7.238, allocations: 4.653 MB / 4.011 GB, free: 259.9 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/7.239, allocations: 450.8 kB / 4.011 GB, free: 259.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/7.239, allocations: 248.7 kB / 4.011 GB, free: 259.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/7.239, allocations: 198 kB / 4.012 GB, free: 259.6 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/7.24, allocations: 267.7 kB / 4.012 GB, free: 259.6 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/7.24, allocations: 3.875 kB / 4.012 GB, free: 259.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=31): time 0.001874/7.241, allocations: 0.7463 MB / 4.013 GB, free: 259.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/7.242, allocations: 86.23 kB / 4.013 GB, free: 259.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/7.243, allocations: 0.8746 MB / 4.013 GB, free: 259.2 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/7.243, allocations: 37.52 kB / 4.013 GB, free: 259.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/7.243, allocations: 334.8 kB / 4.014 GB, free: 259 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/7.244, allocations: 104.2 kB / 4.014 GB, free: 259 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/7.244, allocations: 1.312 kB / 4.014 GB, free: 259 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/7.244, allocations: 323.2 kB / 4.014 GB, free: 258.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/7.244, allocations: 186.6 kB / 4.014 GB, free: 258.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/7.245, allocations: 0.5044 MB / 4.015 GB, free: 258.3 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/7.245, allocations: 278.8 kB / 4.015 GB, free: 258.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/7.245, allocations: 2.062 kB / 4.015 GB, free: 258.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001902/7.247, allocations: 0.891 MB / 4.016 GB, free: 258.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004908/7.247, allocations: 2.096 MB / 4.018 GB, free: 256 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/7.247, allocations: 6.375 kB / 4.018 GB, free: 256 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005628/7.248, allocations: 258.6 kB / 4.018 GB, free: 256 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/7.248, allocations: 67.8 kB / 4.018 GB, free: 256 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/7.25, allocations: 1.237 MB / 4.02 GB, free: 255.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009454/7.251, allocations: 86.81 kB / 4.02 GB, free: 255.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/7.251, allocations: 30.47 kB / 4.02 GB, free: 255.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/7.251, allocations: 4.062 kB / 4.02 GB, free: 255.5 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/7.252, allocations: 0.5763 MB / 4.02 GB, free: 255.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/7.252, allocations: 9.438 kB / 4.02 GB, free: 255.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/7.253, allocations: 213.2 kB / 4.02 GB, free: 255.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/7.253, allocations: 65.23 kB / 4.021 GB, free: 255.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/7.256, allocations: 2.744 MB / 4.023 GB, free: 254.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008539/7.257, allocations: 80.92 kB / 4.023 GB, free: 254.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/7.257, allocations: 22.16 kB / 4.023 GB, free: 254.1 MB / 0.9512 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.0001692/7.257, allocations: 126.6 kB / 4.023 GB, free: 254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/7.257, allocations: 98.89 kB / 4.024 GB, free: 254 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/7.259, allocations: 0.6639 MB / 4.024 GB, free: 253.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/7.259, allocations: 4.094 kB / 4.024 GB, free: 253.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/7.259, allocations: 3.906 kB / 4.024 GB, free: 253.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/7.259, allocations: 6.922 kB / 4.024 GB, free: 253.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/7.261, allocations: 1.469 MB / 4.026 GB, free: 253.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/7.261, allocations: 1.469 kB / 4.026 GB, free: 253.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/7.261, allocations: 32.36 kB / 4.026 GB, free: 253.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/7.262, allocations: 209.5 kB / 4.026 GB, free: 253.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/7.262, allocations: 5.078 kB / 4.026 GB, free: 253.4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/7.263, allocations: 1.103 MB / 4.027 GB, free: 252.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/7.263, allocations: 2.25 kB / 4.027 GB, free: 252.9 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001002/7.264, allocations: 0.854 MB / 4.028 GB, free: 252.5 MB / 0.9512 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001142/7.265, allocations: 1.284 MB / 4.029 GB, free: 251.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/7.265, allocations: 213.6 kB / 4.029 GB, free: 251.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/7.265, allocations: 5.312 kB / 4.029 GB, free: 251.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/7.266, allocations: 57.28 kB / 4.029 GB, free: 251.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/7.266, allocations: 27.44 kB / 4.029 GB, free: 251.6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/7.266, allocations: 9.312 kB / 4.029 GB, free: 251.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.001/7.267, allocations: 0.6836 MB / 4.03 GB, free: 251.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003275/7.27, allocations: 0.6844 MB / 4.031 GB, free: 251.5 MB / 0.9512 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.001756/7.272, allocations: 1.091 MB / 4.032 GB, free: 251.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002384/7.275, allocations: 1.026 MB / 4.033 GB, free: 251.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/7.275, allocations: 4.781 kB / 4.033 GB, free: 251.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/7.275, allocations: 258.7 kB / 4.033 GB, free: 251.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/7.277, allocations: 389.5 kB / 4.033 GB, free: 251.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/7.28, allocations: 1.39 MB / 4.035 GB, free: 250.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/7.282, allocations: 1.258 MB / 4.036 GB, free: 250 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/7.282, allocations: 0 / 4.036 GB, free: 250 MB / 0.9512 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)