Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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 7.0.3-maint.7.0.x/package.mo): time 1.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 172.5 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.172/1.172, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008573/0.0008575, allocations: 83.36 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3249/0.3258, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.4773, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.404/3.881, allocations: 2.185 GB / 3.069 GB, free: 220 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/3.881, allocations: 100.7 kB / 3.069 GB, free: 219.9 MB / 0.8698 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 4.488/8.369, allocations: 1.74 GB / 4.809 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/8.369, allocations: 15.94 kB / 4.809 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/8.37, allocations: 190.5 kB / 4.81 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003281/8.373, allocations: 1.394 MB / 4.811 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/8.373, allocations: 16 kB / 4.811 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/8.373, allocations: 43.98 kB / 4.811 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007032/8.374, allocations: 0.5017 MB / 4.812 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/8.375, allocations: 0.7122 MB / 4.812 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/8.375, allocations: 4 kB / 4.812 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/8.375, allocations: 0 / 4.812 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/8.375, allocations: 16 kB / 4.812 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/8.377, allocations: 4.155 MB / 4.816 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/8.378, allocations: 467.4 kB / 4.817 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/8.378, allocations: 324.4 kB / 4.817 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/8.379, allocations: 196.1 kB / 4.817 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/8.379, allocations: 286.8 kB / 4.818 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.734e-06/8.379, allocations: 0 / 4.818 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008244/8.38, allocations: 0.521 MB / 4.818 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/8.38, allocations: 86.05 kB / 4.818 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007969/8.38, allocations: 0.8756 MB / 4.819 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/8.381, allocations: 29.7 kB / 4.819 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/8.381, allocations: 344.2 kB / 4.819 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/8.381, allocations: 102.5 kB / 4.819 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/8.381, allocations: 0 / 4.819 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/8.381, allocations: 329.9 kB / 4.82 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/8.381, allocations: 196.9 kB / 4.82 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/8.381, allocations: 0.5201 MB / 4.82 GB, free: 123 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/8.382, allocations: 290.4 kB / 4.821 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/8.382, allocations: 8 kB / 4.821 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000734/8.382, allocations: 0.6417 MB / 4.821 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003226/8.383, allocations: 2.097 MB / 4.823 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/8.383, allocations: 4 kB / 4.823 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/8.383, allocations: 12 kB / 4.823 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/8.383, allocations: 115.8 kB / 4.824 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/8.383, allocations: 19.92 kB / 4.824 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008326/8.384, allocations: 103.5 kB / 4.824 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/8.384, allocations: 27.98 kB / 4.824 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/8.384, allocations: 4 kB / 4.824 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005112/8.385, allocations: 445.7 kB / 4.824 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/8.385, allocations: 4 kB / 4.824 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.266e-06/8.385, allocations: 8 kB / 4.824 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/8.385, allocations: 123.6 kB / 4.824 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/8.385, allocations: 16.19 kB / 4.824 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/8.386, allocations: 87.59 kB / 4.824 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/8.386, allocations: 24 kB / 4.824 GB, free: 118.8 MB / 0.8698 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 (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/8.386, allocations: 124.8 kB / 4.824 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/8.386, allocations: 102.8 kB / 4.825 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/8.387, allocations: 494.9 kB / 4.825 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/8.387, allocations: 4 kB / 4.825 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/8.387, allocations: 3.906 kB / 4.825 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/8.387, allocations: 3.984 kB / 4.825 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/8.388, allocations: 1.354 MB / 4.826 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/8.388, allocations: 0 / 4.826 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003169/8.389, allocations: 76.09 kB / 4.826 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/8.389, allocations: 8 kB / 4.826 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/8.389, allocations: 4 kB / 4.826 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/8.389, allocations: 4 kB / 4.826 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/8.389, allocations: 0 / 4.826 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004986/8.389, allocations: 0.6729 MB / 4.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00069/8.39, allocations: 1.11 MB / 4.828 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/8.39, allocations: 223.8 kB / 4.828 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/8.39, allocations: 0 / 4.828 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/8.391, allocations: 67.77 kB / 4.828 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/8.391, allocations: 35.86 kB / 4.829 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/8.391, allocations: 12 kB / 4.829 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006214/8.392, allocations: 0.6847 MB / 4.829 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002508/8.394, allocations: 0.6711 MB / 4.83 GB, free: 112.9 MB / 0.8698 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 (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/8.395, allocations: 1.117 MB / 4.831 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008705/8.396, allocations: 0.7838 MB / 4.832 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/8.396, allocations: 4.188 kB / 4.832 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002375/8.396, allocations: 208.2 kB / 4.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/8.399, allocations: 0.5297 MB / 4.832 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/8.401, allocations: 1.394 MB / 4.834 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/8.401, allocations: 1.275 MB / 4.835 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.61e-07/8.401, allocations: 0 / 4.835 GB, free: 107.6 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)