Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.74/1.74, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.002071/0.002072, allocations: 181.3 kB / 366.3 MB, free: 1.953 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.839/1.839, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.001164/0.001164, allocations: 85.48 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3089/0.3101, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8361/1.146, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.547/5.693, allocations: 2.066 GB / 3.039 GB, free: 6.262 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/5.694, allocations: 93.09 kB / 3.039 GB, free: 6.172 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 6.209/11.9, allocations: 1.801 GB / 4.841 GB, free: 16.09 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/11.9, allocations: 12 kB / 4.841 GB, free: 16.08 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/11.9, allocations: 190.5 kB / 4.841 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/11.91, allocations: 1.108 MB / 4.842 GB, free: 14.72 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/11.91, allocations: 16 kB / 4.842 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/11.91, allocations: 39.98 kB / 4.842 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008275/11.91, allocations: 485.7 kB / 4.842 GB, free: 14.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/11.91, allocations: 0.6928 MB / 4.843 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/11.91, allocations: 7.906 kB / 4.843 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.068e-05/11.91, allocations: 0 / 4.843 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/11.91, allocations: 16 kB / 4.843 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/11.91, allocations: 4.682 MB / 4.848 GB, free: 8.352 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000541/11.91, allocations: 438.5 kB / 4.848 GB, free: 7.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/11.91, allocations: 244.7 kB / 4.848 GB, free: 7.668 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/11.91, allocations: 198.1 kB / 4.849 GB, free: 7.438 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/11.92, allocations: 265.1 kB / 4.849 GB, free: 7.156 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/11.92, allocations: 0 / 4.849 GB, free: 7.156 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001886/11.92, allocations: 0.7678 MB / 4.85 GB, free: 6.383 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/11.92, allocations: 89.09 kB / 4.85 GB, free: 6.277 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/11.92, allocations: 0.8756 MB / 4.85 GB, free: 5.383 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.039e-05/11.92, allocations: 25.7 kB / 4.85 GB, free: 5.352 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/11.92, allocations: 336.8 kB / 4.851 GB, free: 5.016 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.633e-05/11.92, allocations: 106.5 kB / 4.851 GB, free: 4.91 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/11.92, allocations: 0 / 4.851 GB, free: 4.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/11.92, allocations: 325.9 kB / 4.851 GB, free: 4.586 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/11.92, allocations: 200.7 kB / 4.851 GB, free: 4.391 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/11.92, allocations: 0.4988 MB / 4.852 GB, free: 3.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/11.92, allocations: 278.1 kB / 4.852 GB, free: 3.48 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/11.92, allocations: 0 / 4.852 GB, free: 3.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001695/11.92, allocations: 0.9061 MB / 4.853 GB, free: 2.562 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005704/11.92, allocations: 2.101 MB / 4.855 GB, free: 308 kB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/11.92, allocations: 4 kB / 4.855 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/11.92, allocations: 235.4 kB / 4.855 GB, free: 68 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/11.92, allocations: 63.91 kB / 4.855 GB, free: 4 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4394/12.36, allocations: 1.138 MB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/12.36, allocations: 89.75 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.741e-05/12.36, allocations: 31.22 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/12.36, allocations: 6.562 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/12.36, allocations: 0.5894 MB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/12.36, allocations: 3.844 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/12.37, allocations: 201.9 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/12.37, allocations: 66.36 kB / 4.857 GB, free: 358.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/12.37, allocations: 2.757 MB / 4.86 GB, free: 356.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/12.37, allocations: 78.69 kB / 4.86 GB, free: 356.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-05/12.37, allocations: 22.94 kB / 4.86 GB, free: 356.9 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001783/12.37, allocations: 122.7 kB / 4.86 GB, free: 356.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/12.37, allocations: 92.41 kB / 4.86 GB, free: 356.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/12.37, allocations: 0.6598 MB / 4.861 GB, free: 356.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/12.37, allocations: 7.859 kB / 4.861 GB, free: 356.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/12.37, allocations: 0 / 4.861 GB, free: 356.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/12.37, allocations: 7.562 kB / 4.861 GB, free: 356.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/12.37, allocations: 1.482 MB / 4.863 GB, free: 356.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/12.37, allocations: 6.906 kB / 4.863 GB, free: 356.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/12.37, allocations: 30.92 kB / 4.863 GB, free: 356.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/12.37, allocations: 187.5 kB / 4.863 GB, free: 356.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/12.37, allocations: 3.844 kB / 4.863 GB, free: 356.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007593/12.37, allocations: 1.02 MB / 4.864 GB, free: 355.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/12.37, allocations: 0 / 4.864 GB, free: 355.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009429/12.38, allocations: 0.8546 MB / 4.865 GB, free: 355.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001138/12.38, allocations: 1.293 MB / 4.866 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/12.38, allocations: 210.9 kB / 4.866 GB, free: 354.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/12.38, allocations: 3.875 kB / 4.866 GB, free: 354.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/12.38, allocations: 49.38 kB / 4.866 GB, free: 354.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/12.38, allocations: 40.53 kB / 4.866 GB, free: 354.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/12.38, allocations: 10.72 kB / 4.866 GB, free: 354.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007503/12.38, allocations: 0.6881 MB / 4.867 GB, free: 354.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00303/12.38, allocations: 0.6586 MB / 4.867 GB, free: 354.4 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001568/12.38, allocations: 1.114 MB / 4.869 GB, free: 354.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001706/12.39, allocations: 0.9075 MB / 4.869 GB, free: 354 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/12.39, allocations: 3.438 kB / 4.869 GB, free: 354 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/12.39, allocations: 207 kB / 4.87 GB, free: 354 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/12.39, allocations: 383.2 kB / 4.87 GB, free: 354 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/12.39, allocations: 1.382 MB / 4.871 GB, free: 353.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/12.39, allocations: 1.271 MB / 4.873 GB, free: 352.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.61e-07/12.39, allocations: 0 / 4.873 GB, free: 352.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)