Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.001336/0.001336, allocations: 177.3 kB / 366.3 MB, free: 1.965 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.643/1.643, allocations: 205.1 MB / 0.6256 GB, free: 5.824 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.0009941/0.0009941, allocations: 92.52 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3138/0.3148, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/1.107, allocations: 116.3 MB / 0.9726 GB, free: 68.16 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.45/5.557, allocations: 2.062 GB / 3.035 GB, free: 13.96 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/5.558, allocations: 83.89 kB / 3.035 GB, free: 13.88 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.642/9.2, allocations: 0.96 GB / 3.995 GB, free: 151.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/9.2, allocations: 12 kB / 3.995 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/9.201, allocations: 190.4 kB / 3.995 GB, free: 151.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/9.203, allocations: 1.077 MB / 3.996 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/9.203, allocations: 19.98 kB / 3.996 GB, free: 150.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/9.203, allocations: 32 kB / 3.996 GB, free: 150 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000677/9.204, allocations: 0.4939 MB / 3.997 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007429/9.205, allocations: 0.5785 MB / 3.997 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/9.205, allocations: 0 / 3.997 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/9.205, allocations: 0 / 3.997 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/9.205, allocations: 12 kB / 3.997 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/9.208, allocations: 3.328 MB / 4.001 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/9.209, allocations: 438.9 kB / 4.001 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/9.209, allocations: 245.1 kB / 4.001 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002819/9.209, allocations: 194.4 kB / 4.002 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/9.209, allocations: 34.8 kB / 4.002 GB, free: 144.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 1.863e-06/9.209, allocations: 0 / 4.002 GB, free: 144.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=28): time 0.001711/9.211, allocations: 0.7597 MB / 4.002 GB, free: 143.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/9.211, allocations: 59.41 kB / 4.002 GB, free: 143.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/9.212, allocations: 0.79 MB / 4.003 GB, free: 142.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/9.212, allocations: 29.7 kB / 4.003 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/9.212, allocations: 284.9 kB / 4.003 GB, free: 142.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/9.212, allocations: 94.66 kB / 4.004 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/9.212, allocations: 0 / 4.004 GB, free: 142.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/9.212, allocations: 317.9 kB / 4.004 GB, free: 141.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/9.212, allocations: 139.9 kB / 4.004 GB, free: 141.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/9.213, allocations: 350.5 kB / 4.004 GB, free: 141.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/9.213, allocations: 186.9 kB / 4.004 GB, free: 141.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/9.213, allocations: 0 / 4.004 GB, free: 141.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001273/9.214, allocations: 0.7394 MB / 4.005 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000105/9.214, allocations: 365.1 kB / 4.006 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/9.214, allocations: 4 kB / 4.006 GB, free: 140.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/9.215, allocations: 220.6 kB / 4.006 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/9.215, allocations: 31.92 kB / 4.006 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/9.216, allocations: 1.132 MB / 4.007 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007423/9.217, allocations: 67.84 kB / 4.007 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/9.217, allocations: 8 kB / 4.007 GB, free: 138.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/9.217, allocations: 4 kB / 4.007 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008248/9.217, allocations: 450.8 kB / 4.007 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/9.217, allocations: 0 / 4.007 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/9.218, allocations: 204.8 kB / 4.008 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/9.218, allocations: 27.92 kB / 4.008 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/9.221, allocations: 2.777 MB / 4.01 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/9.222, allocations: 63.84 kB / 4.01 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/9.222, allocations: 11.98 kB / 4.01 GB, free: 134.9 MB / 0.948 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.0001501/9.222, allocations: 114.4 kB / 4.011 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/9.222, allocations: 90.81 kB / 4.011 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/9.223, allocations: 0.6625 MB / 4.011 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/9.223, allocations: 4 kB / 4.011 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/9.223, allocations: 0 / 4.011 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/9.223, allocations: 7.906 kB / 4.011 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/9.225, allocations: 1.379 MB / 4.013 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/9.225, allocations: 4 kB / 4.013 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/9.225, allocations: 28.14 kB / 4.013 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002987/9.226, allocations: 191.8 kB / 4.013 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/9.226, allocations: 4 kB / 4.013 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/9.226, allocations: 1.017 MB / 4.014 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/9.226, allocations: 4 kB / 4.014 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008294/9.227, allocations: 0.8168 MB / 4.015 GB, free: 130.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009944/9.228, allocations: 1.261 MB / 4.016 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/9.229, allocations: 204 kB / 4.016 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/9.229, allocations: 7.906 kB / 4.016 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/9.229, allocations: 59.72 kB / 4.016 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/9.229, allocations: 27.92 kB / 4.016 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/9.229, allocations: 11.98 kB / 4.016 GB, free: 128.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007175/9.23, allocations: 0.6317 MB / 4.017 GB, free: 128.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002927/9.233, allocations: 0.6087 MB / 4.017 GB, free: 127.5 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: 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.001382/9.234, allocations: 1.037 MB / 4.018 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001292/9.236, allocations: 0.6757 MB / 4.019 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/9.236, allocations: 8.125 kB / 4.019 GB, free: 125.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/9.236, allocations: 186.3 kB / 4.019 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/9.238, allocations: 366.8 kB / 4.02 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/9.24, allocations: 1.354 MB / 4.021 GB, free: 123.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/9.241, allocations: 1.248 MB / 4.022 GB, free: 122.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/9.241, allocations: 0 / 4.022 GB, free: 122.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)