Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.239/1.239, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.0009984/0.0009984, allocations: 181.2 kB / 316 MB, free: 3.531 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.141/1.141, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0009059/0.0009059, allocations: 80.83 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3469/0.3478, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.5155, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.592, allocations: 0.5064 GB / 1.391 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.592, allocations: 87.33 kB / 1.391 GB, free: 197.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 1.672/3.264, allocations: 0.5704 GB / 1.962 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/3.264, allocations: 7.188 kB / 1.962 GB, free: 199.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000853/3.265, allocations: 146.8 kB / 1.962 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05898/3.324, allocations: 30.4 MB / 1.991 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/3.324, allocations: 16.06 kB / 1.991 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/3.324, allocations: 25.53 kB / 1.991 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000665/3.325, allocations: 297.5 kB / 1.992 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/3.325, allocations: 453.5 kB / 1.992 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/3.325, allocations: 3.938 kB / 1.992 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/3.325, allocations: 7.469 kB / 1.992 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/3.325, allocations: 13.94 kB / 1.992 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/3.328, allocations: 2.234 MB / 1.994 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/3.329, allocations: 180.4 kB / 1.995 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/3.329, allocations: 128.9 kB / 1.995 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/3.33, allocations: 2.008 MB / 1.997 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/3.33, allocations: 36.94 kB / 1.997 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/3.33, allocations: 3.781 kB / 1.997 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43): time 0.0059/3.336, allocations: 1.746 MB / 1.998 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/3.336, allocations: 56.41 kB / 1.998 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005467/3.336, allocations: 408.5 kB / 1.999 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/3.336, allocations: 29.08 kB / 1.999 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/3.337, allocations: 252.6 kB / 1.999 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/3.337, allocations: 144.1 kB / 1.999 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/3.337, allocations: 0 / 1.999 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/3.337, allocations: 362.6 kB / 2 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/3.337, allocations: 138.2 kB / 2 GB, free: 193.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002361/3.337, allocations: 254.4 kB / 2 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/3.338, allocations: 253.5 kB / 2 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/3.338, allocations: 0 / 2 GB, free: 193.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001769/3.34, allocations: 0.6571 MB / 2.001 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002409/3.34, allocations: 1.131 MB / 2.002 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/3.34, allocations: 3.5 kB / 2.002 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/3.341, allocations: 177.6 kB / 2.002 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/3.341, allocations: 78.88 kB / 2.002 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/3.342, allocations: 1.419 MB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004835/3.343, allocations: 33.39 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/3.343, allocations: 37.41 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/3.343, allocations: 6.281 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001454/3.344, allocations: 0.5558 MB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/3.344, allocations: 3.531 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/3.345, allocations: 175.4 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/3.345, allocations: 79.45 kB / 2.004 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/3.346, allocations: 1.416 MB / 2.006 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/3.347, allocations: 24.31 kB / 2.006 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/3.347, allocations: 38.66 kB / 2.006 GB, free: 190.2 MB / 0.8542 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/3.347, allocations: 141.8 kB / 2.006 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/3.347, allocations: 75.2 kB / 2.006 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/3.35, allocations: 0.9568 MB / 2.007 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/3.35, allocations: 9.969 kB / 2.007 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/3.35, allocations: 0 / 2.007 GB, free: 190 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001573/3.351, allocations: 0.8279 MB / 2.008 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/3.354, allocations: 1.568 MB / 2.009 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/3.354, allocations: 0 / 2.009 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/3.354, allocations: 49.89 kB / 2.009 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/3.355, allocations: 172.9 kB / 2.01 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/3.355, allocations: 11.31 kB / 2.01 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/3.356, allocations: 1.404 MB / 2.011 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/3.356, allocations: 0 / 2.011 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002132/3.358, allocations: 1.13 MB / 2.012 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002782/3.361, allocations: 1.884 MB / 2.014 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/3.361, allocations: 220.3 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/3.362, allocations: 3.844 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/3.362, allocations: 27.88 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/3.362, allocations: 27.39 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/3.362, allocations: 26.61 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003572/3.363, allocations: 319.2 kB / 2.014 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004191/3.367, allocations: 0.908 MB / 2.015 GB, free: 187.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002777/3.37, allocations: 0.8236 MB / 2.016 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001518/3.371, allocations: 0.7429 MB / 2.017 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.371, allocations: 0 / 2.017 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007109/3.372, allocations: 306 kB / 2.017 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/3.373, allocations: 294.2 kB / 2.017 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/3.376, allocations: 1.005 MB / 2.018 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008271/3.377, allocations: 1.064 MB / 2.019 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of SimCode: time 4.6e-07/3.377, allocations: 0 / 2.019 GB, free: 185.9 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)