Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.042/2.042, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001066/0.001066, allocations: 176.4 kB / 487 MB, free: 5.406 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.505/1.505, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0009531/0.0009528, allocations: 90.69 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.682/0.683, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.9743, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.895/5.87, allocations: 1.867 GB / 3.072 GB, free: 432.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/5.87, allocations: 91.86 kB / 3.073 GB, free: 432.8 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.029/8.899, allocations: 0.9675 GB / 4.04 GB, free: 345.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/8.899, allocations: 11.47 kB / 4.04 GB, free: 345.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009184/8.9, allocations: 192 kB / 4.04 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002383/8.903, allocations: 1.078 MB / 4.041 GB, free: 345.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/8.903, allocations: 15.53 kB / 4.041 GB, free: 345.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/8.903, allocations: 40.72 kB / 4.041 GB, free: 345.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008676/8.904, allocations: 0.4958 MB / 4.042 GB, free: 345 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/8.905, allocations: 0.5696 MB / 4.042 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/8.905, allocations: 3.938 kB / 4.042 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/8.905, allocations: 0 / 4.042 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/8.905, allocations: 15.94 kB / 4.042 GB, free: 344.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/8.909, allocations: 3.336 MB / 4.046 GB, free: 341.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/8.909, allocations: 441.6 kB / 4.046 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/8.91, allocations: 242.1 kB / 4.046 GB, free: 341.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/8.91, allocations: 192.1 kB / 4.047 GB, free: 341.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/8.91, allocations: 36.7 kB / 4.047 GB, free: 341.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/8.91, allocations: 3.5 kB / 4.047 GB, free: 341.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.002037/8.912, allocations: 0.7569 MB / 4.047 GB, free: 340.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/8.912, allocations: 61.88 kB / 4.047 GB, free: 340.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/8.913, allocations: 0.7865 MB / 4.048 GB, free: 340.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/8.913, allocations: 28.02 kB / 4.048 GB, free: 340.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/8.914, allocations: 288.3 kB / 4.048 GB, free: 340.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/8.914, allocations: 95.22 kB / 4.049 GB, free: 340 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/8.914, allocations: 0 / 4.049 GB, free: 340 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/8.914, allocations: 321.4 kB / 4.049 GB, free: 339.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/8.914, allocations: 143 kB / 4.049 GB, free: 339.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/8.914, allocations: 341.2 kB / 4.049 GB, free: 339.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/8.915, allocations: 193.5 kB / 4.049 GB, free: 339.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/8.915, allocations: 3.25 kB / 4.049 GB, free: 339.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001635/8.916, allocations: 0.7365 MB / 4.05 GB, free: 338.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/8.916, allocations: 371.2 kB / 4.051 GB, free: 338.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/8.916, allocations: 0 / 4.051 GB, free: 338.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004141/8.917, allocations: 217.4 kB / 4.051 GB, free: 338.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/8.917, allocations: 26.61 kB / 4.051 GB, free: 338 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009469/8.918, allocations: 1.13 MB / 4.052 GB, free: 336.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/8.919, allocations: 70.03 kB / 4.052 GB, free: 336.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/8.919, allocations: 10.73 kB / 4.052 GB, free: 336.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/8.919, allocations: 7.938 kB / 4.052 GB, free: 336.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008236/8.92, allocations: 451.8 kB / 4.052 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/8.92, allocations: 7.938 kB / 4.052 GB, free: 336.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/8.92, allocations: 204.4 kB / 4.053 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/8.92, allocations: 19.98 kB / 4.053 GB, free: 336.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002907/8.923, allocations: 2.769 MB / 4.055 GB, free: 333.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/8.924, allocations: 69.72 kB / 4.055 GB, free: 333.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/8.924, allocations: 8 kB / 4.055 GB, free: 333.2 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.0001261/8.924, allocations: 124.8 kB / 4.056 GB, free: 333.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/8.924, allocations: 82.97 kB / 4.056 GB, free: 333 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009798/8.925, allocations: 0.6487 MB / 4.056 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/8.925, allocations: 7.984 kB / 4.056 GB, free: 332.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/8.925, allocations: 11.62 kB / 4.056 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/8.925, allocations: 0 / 4.056 GB, free: 332.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/8.927, allocations: 1.38 MB / 4.058 GB, free: 330.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/8.927, allocations: 3.844 kB / 4.058 GB, free: 330.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/8.927, allocations: 23.98 kB / 4.058 GB, free: 330.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/8.928, allocations: 188.8 kB / 4.058 GB, free: 330.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/8.928, allocations: 4 kB / 4.058 GB, free: 330.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006705/8.928, allocations: 1.022 MB / 4.059 GB, free: 329.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/8.928, allocations: 10.3 kB / 4.059 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000765/8.929, allocations: 0.8206 MB / 4.06 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009391/8.93, allocations: 1.258 MB / 4.061 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/8.931, allocations: 207.9 kB / 4.061 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/8.931, allocations: 4 kB / 4.061 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005046/8.931, allocations: 57.97 kB / 4.061 GB, free: 327.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/8.931, allocations: 23.92 kB / 4.061 GB, free: 327.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/8.931, allocations: 14.23 kB / 4.061 GB, free: 327.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005874/8.932, allocations: 0.624 MB / 4.062 GB, free: 326.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002552/8.934, allocations: 0.6202 MB / 4.062 GB, free: 325.9 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.001105/8.935, allocations: 1.028 MB / 4.063 GB, free: 325 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001056/8.937, allocations: 0.6777 MB / 4.064 GB, free: 324.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/8.937, allocations: 3.938 kB / 4.064 GB, free: 324.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/8.937, allocations: 198.8 kB / 4.064 GB, free: 324.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/8.938, allocations: 362.7 kB / 4.065 GB, free: 323.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/8.94, allocations: 1.355 MB / 4.066 GB, free: 322.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005891/8.941, allocations: 1.248 MB / 4.067 GB, free: 321.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/8.941, allocations: 4 kB / 4.067 GB, free: 321.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)