Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",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 10.0.0-master/package.mo): time 2.483/2.483, allocations: 390.4 MB / 397.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 181.1 kB / 490.8 MB, free: 11.26 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.66/1.66, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 89.34 kB / 0.9264 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3913/0.3924, allocations: 149.1 MB / 1.072 GB, free: 15.55 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9496/1.342, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.562/5.904, allocations: 1.868 GB / 3.08 GB, free: 209.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/5.904, allocations: 79.95 kB / 3.08 GB, free: 209.4 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.377/9.281, allocations: 0.9675 GB / 4.047 GB, free: 104.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/9.281, allocations: 8 kB / 4.047 GB, free: 104.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000789/9.282, allocations: 186.5 kB / 4.047 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/9.284, allocations: 1.084 MB / 4.048 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/9.284, allocations: 20 kB / 4.048 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.741e-05/9.284, allocations: 36 kB / 4.049 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000655/9.285, allocations: 0.49 MB / 4.049 GB, free: 102.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007315/9.286, allocations: 0.5746 MB / 4.05 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/9.286, allocations: 3.984 kB / 4.05 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/9.286, allocations: 0 / 4.05 GB, free: 102.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/9.286, allocations: 15.98 kB / 4.05 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002923/9.289, allocations: 3.338 MB / 4.053 GB, free: 98.65 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004474/9.289, allocations: 431 kB / 4.053 GB, free: 98.22 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/9.289, allocations: 246.8 kB / 4.053 GB, free: 97.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002696/9.29, allocations: 198.3 kB / 4.054 GB, free: 97.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/9.29, allocations: 34.8 kB / 4.054 GB, free: 97.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/9.29, allocations: 0 / 4.054 GB, free: 97.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001676/9.291, allocations: 0.7608 MB / 4.054 GB, free: 96.94 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/9.291, allocations: 55.41 kB / 4.055 GB, free: 96.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/9.292, allocations: 0.7861 MB / 4.055 GB, free: 96.08 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/9.292, allocations: 25.7 kB / 4.055 GB, free: 96.05 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/9.292, allocations: 289.5 kB / 4.056 GB, free: 95.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/9.292, allocations: 94.59 kB / 4.056 GB, free: 95.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/9.292, allocations: 0 / 4.056 GB, free: 95.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.841e-05/9.293, allocations: 325.9 kB / 4.056 GB, free: 95.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/9.293, allocations: 143.9 kB / 4.056 GB, free: 95.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/9.293, allocations: 339.7 kB / 4.056 GB, free: 94.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/9.293, allocations: 195.3 kB / 4.057 GB, free: 94.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/9.293, allocations: 0 / 4.057 GB, free: 94.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001275/9.294, allocations: 0.7355 MB / 4.057 GB, free: 93.86 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-05/9.295, allocations: 364.8 kB / 4.058 GB, free: 93.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/9.295, allocations: 0 / 4.058 GB, free: 93.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004046/9.295, allocations: 225.8 kB / 4.058 GB, free: 93.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/9.295, allocations: 27.92 kB / 4.058 GB, free: 93.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/9.296, allocations: 1.13 MB / 4.059 GB, free: 92.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/9.297, allocations: 67.84 kB / 4.059 GB, free: 92 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/9.297, allocations: 11.98 kB / 4.059 GB, free: 91.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/9.297, allocations: 4 kB / 4.059 GB, free: 91.98 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000831/9.298, allocations: 459.9 kB / 4.06 GB, free: 91.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/9.298, allocations: 0 / 4.06 GB, free: 91.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005039/9.298, allocations: 200.7 kB / 4.06 GB, free: 91.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/9.298, allocations: 23.92 kB / 4.06 GB, free: 91.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/9.301, allocations: 2.766 MB / 4.062 GB, free: 88.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/9.302, allocations: 67.83 kB / 4.063 GB, free: 88.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/9.302, allocations: 8 kB / 4.063 GB, free: 88.36 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000136/9.302, allocations: 113.6 kB / 4.063 GB, free: 88.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/9.302, allocations: 86.88 kB / 4.063 GB, free: 88.16 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/9.303, allocations: 0.6679 MB / 4.063 GB, free: 87.47 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/9.303, allocations: 7.875 kB / 4.063 GB, free: 87.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/9.303, allocations: 0 / 4.063 GB, free: 87.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/9.303, allocations: 7.906 kB / 4.063 GB, free: 87.46 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/9.305, allocations: 1.376 MB / 4.065 GB, free: 86.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/9.305, allocations: 0 / 4.065 GB, free: 86.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/9.306, allocations: 27.92 kB / 4.065 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/9.306, allocations: 192.3 kB / 4.065 GB, free: 85.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/9.306, allocations: 8.125 kB / 4.065 GB, free: 85.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007598/9.307, allocations: 1.013 MB / 4.066 GB, free: 84.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/9.307, allocations: 11.84 kB / 4.066 GB, free: 84.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008616/9.308, allocations: 0.8302 MB / 4.067 GB, free: 83.82 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001135/9.309, allocations: 1.247 MB / 4.068 GB, free: 82.49 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/9.309, allocations: 211.9 kB / 4.068 GB, free: 82.26 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/9.309, allocations: 3.984 kB / 4.068 GB, free: 82.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/9.31, allocations: 59.8 kB / 4.068 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/9.31, allocations: 19.91 kB / 4.068 GB, free: 82.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/9.31, allocations: 12.05 kB / 4.068 GB, free: 82.17 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.00077/9.311, allocations: 0.6318 MB / 4.069 GB, free: 81.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002873/9.313, allocations: 0.6202 MB / 4.07 GB, free: 80.92 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001415/9.315, allocations: 1.038 MB / 4.071 GB, free: 79.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001213/9.316, allocations: 0.6794 MB / 4.071 GB, free: 79.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/9.316, allocations: 0 / 4.071 GB, free: 79.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/9.316, allocations: 186.3 kB / 4.071 GB, free: 79.01 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/9.318, allocations: 365.2 kB / 4.072 GB, free: 78.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/9.32, allocations: 1.354 MB / 4.073 GB, free: 77.25 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005943/9.321, allocations: 1.251 MB / 4.074 GB, free: 75.97 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/9.321, allocations: 0 / 4.074 GB, free: 75.97 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)