Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001123/0.001123, allocations: 189.2 kB / 487 MB, free: 5.348 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.401/1.401, allocations: 221.3 MB / 0.7819 GB, free: 1.336 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.0008738/0.0008738, allocations: 96.42 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5605/0.5614, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.8237, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/5.069, allocations: 1.871 GB / 3.076 GB, free: 436 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/5.07, allocations: 90.39 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 6.053/11.12, allocations: 1.815 GB / 4.892 GB, free: 358.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/11.12, allocations: 7.75 kB / 4.892 GB, free: 358.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/11.12, allocations: 191.2 kB / 4.892 GB, free: 358.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/11.13, allocations: 1.117 MB / 4.893 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/11.13, allocations: 16.03 kB / 4.893 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/11.13, allocations: 36.84 kB / 4.893 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001191/11.13, allocations: 490.7 kB / 4.893 GB, free: 358.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/11.13, allocations: 0.6852 MB / 4.894 GB, free: 358 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/11.13, allocations: 4.656 kB / 4.894 GB, free: 358 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/11.13, allocations: 2.938 kB / 4.894 GB, free: 358 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/11.13, allocations: 14.5 kB / 4.894 GB, free: 358 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/11.13, allocations: 4.674 MB / 4.899 GB, free: 354.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/11.13, allocations: 451.2 kB / 4.899 GB, free: 354.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/11.13, allocations: 244.9 kB / 4.899 GB, free: 354.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/11.13, allocations: 201 kB / 4.9 GB, free: 354.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/11.14, allocations: 264.8 kB / 4.9 GB, free: 354.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/11.14, allocations: 0 / 4.9 GB, free: 354.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.002012/11.14, allocations: 0.7788 MB / 4.901 GB, free: 354.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/11.14, allocations: 85.55 kB / 4.901 GB, free: 354 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/11.14, allocations: 0.8775 MB / 4.902 GB, free: 353.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/11.14, allocations: 32.39 kB / 4.902 GB, free: 353.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/11.14, allocations: 336.4 kB / 4.902 GB, free: 353.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/11.14, allocations: 104.5 kB / 4.902 GB, free: 353.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/11.14, allocations: 0 / 4.902 GB, free: 353.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/11.14, allocations: 324.9 kB / 4.902 GB, free: 353.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/11.14, allocations: 190.5 kB / 4.902 GB, free: 353.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/11.14, allocations: 0.5006 MB / 4.903 GB, free: 353 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/11.14, allocations: 275.4 kB / 4.903 GB, free: 352.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/11.14, allocations: 1.344 kB / 4.903 GB, free: 352.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001792/11.14, allocations: 0.8973 MB / 4.904 GB, free: 352.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004026/11.14, allocations: 2.1 MB / 4.906 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/11.14, allocations: 6.141 kB / 4.906 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005365/11.14, allocations: 236.5 kB / 4.906 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/11.14, allocations: 62.69 kB / 4.906 GB, free: 350.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/11.14, allocations: 1.145 MB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008664/11.15, allocations: 86.28 kB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/11.15, allocations: 25.02 kB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/11.15, allocations: 6.75 kB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/11.15, allocations: 0.5947 MB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/11.15, allocations: 6.188 kB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/11.15, allocations: 203 kB / 4.908 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/11.15, allocations: 69.66 kB / 4.909 GB, free: 350.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/11.15, allocations: 2.756 MB / 4.911 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008088/11.15, allocations: 84.19 kB / 4.911 GB, free: 348.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/11.15, allocations: 25.12 kB / 4.911 GB, free: 348.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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001653/11.15, allocations: 119.2 kB / 4.911 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/11.15, allocations: 96.91 kB / 4.912 GB, free: 348.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/11.15, allocations: 0.6529 MB / 4.912 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/11.15, allocations: 7.594 kB / 4.912 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/11.15, allocations: 2.094 kB / 4.912 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/11.15, allocations: 3.875 kB / 4.912 GB, free: 348.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/11.16, allocations: 1.48 MB / 4.914 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/11.16, allocations: 2.703 kB / 4.914 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/11.16, allocations: 22.92 kB / 4.914 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/11.16, allocations: 194.5 kB / 4.914 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/11.16, allocations: 4.484 kB / 4.914 GB, free: 348 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009707/11.16, allocations: 1.019 MB / 4.915 GB, free: 347.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/11.16, allocations: 6.969 kB / 4.915 GB, free: 347.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001155/11.16, allocations: 0.847 MB / 4.916 GB, free: 347.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001282/11.16, allocations: 1.29 MB / 4.917 GB, free: 346.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/11.16, allocations: 212.2 kB / 4.917 GB, free: 346.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/11.16, allocations: 9.156 kB / 4.917 GB, free: 346.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/11.16, allocations: 57.69 kB / 4.917 GB, free: 346.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/11.16, allocations: 27.27 kB / 4.917 GB, free: 346.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/11.16, allocations: 12.38 kB / 4.917 GB, free: 346.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009437/11.16, allocations: 0.6848 MB / 4.918 GB, free: 346 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003398/11.17, allocations: 0.6721 MB / 4.919 GB, free: 346 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001848/11.17, allocations: 1.109 MB / 4.92 GB, free: 345.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001812/11.17, allocations: 0.9084 MB / 4.921 GB, free: 345.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/11.17, allocations: 1 kB / 4.921 GB, free: 345.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004767/11.17, allocations: 207.3 kB / 4.921 GB, free: 345.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/11.17, allocations: 371.2 kB / 4.921 GB, free: 345.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/11.17, allocations: 1.403 MB / 4.922 GB, free: 345 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/11.18, allocations: 1.255 MB / 4.924 GB, free: 344.3 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/11.18, allocations: 3.938 kB / 4.924 GB, free: 344.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)