Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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.0.0/package.mo): time 2.71/2.71, allocations: 284.8 MB / 292.1 MB, free: 9.852 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.001654/0.001653, allocations: 185.9 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.1 MB / 0.6187 GB, free: 3.305 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00187/0.001871, allocations: 92.7 kB / 0.7317 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6146/0.6165, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.8508, allocations: 115.3 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.845/2.696, allocations: 0.6013 GB / 1.564 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.696, allocations: 94.22 kB / 1.564 GB, free: 254.1 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.5422/3.238, allocations: 162.1 MB / 1.722 GB, free: 106 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/3.238, allocations: 8 kB / 1.722 GB, free: 105.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/3.242, allocations: 294.7 kB / 1.723 GB, free: 105.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/3.245, allocations: 0.6828 MB / 1.723 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/3.245, allocations: 16 kB / 1.723 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/3.245, allocations: 28 kB / 1.723 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009295/3.246, allocations: 293.9 kB / 1.724 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/3.247, allocations: 443 kB / 1.724 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/3.247, allocations: 3.906 kB / 1.724 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.641e-05/3.247, allocations: 4 kB / 1.724 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/3.247, allocations: 8 kB / 1.724 GB, free: 104.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/3.252, allocations: 2.719 MB / 1.727 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/3.252, allocations: 204.9 kB / 1.727 GB, free: 101 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/3.252, allocations: 126.2 kB / 1.727 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/3.253, allocations: 0.669 MB / 1.728 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/3.253, allocations: 34.8 kB / 1.728 GB, free: 99.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=28): time 3.216e-06/3.253, allocations: 0 / 1.728 GB, free: 99.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=40): time 0.009446/3.262, allocations: 1.657 MB / 1.729 GB, free: 98.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/3.263, allocations: 92.98 kB / 1.73 GB, free: 98.16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/3.263, allocations: 402.2 kB / 1.73 GB, free: 97.77 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/3.263, allocations: 25.7 kB / 1.73 GB, free: 97.73 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/3.264, allocations: 248.3 kB / 1.73 GB, free: 97.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/3.264, allocations: 134 kB / 1.73 GB, free: 97.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/3.264, allocations: 0 / 1.73 GB, free: 97.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001087/3.264, allocations: 366.8 kB / 1.731 GB, free: 96.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/3.264, allocations: 141 kB / 1.731 GB, free: 96.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/3.265, allocations: 266.5 kB / 1.731 GB, free: 96.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/3.266, allocations: 199.6 kB / 1.731 GB, free: 96.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/3.266, allocations: 4 kB / 1.731 GB, free: 96.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002876/3.268, allocations: 0.6703 MB / 1.732 GB, free: 95.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002797/3.269, allocations: 1.228 MB / 1.733 GB, free: 94.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/3.269, allocations: 4 kB / 1.733 GB, free: 94.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/3.27, allocations: 261.5 kB / 1.733 GB, free: 94.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/3.271, allocations: 67.91 kB / 1.733 GB, free: 93.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007758/3.279, allocations: 3.854 MB / 1.737 GB, free: 89.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/3.281, allocations: 75.81 kB / 1.737 GB, free: 89.83 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-05/3.281, allocations: 20 kB / 1.737 GB, free: 89.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/3.281, allocations: 7.938 kB / 1.737 GB, free: 89.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002598/3.284, allocations: 0.5834 MB / 1.738 GB, free: 89.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/3.284, allocations: 4 kB / 1.738 GB, free: 89.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/3.285, allocations: 261.8 kB / 1.738 GB, free: 88.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/3.286, allocations: 67.91 kB / 1.738 GB, free: 88.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007561/3.293, allocations: 3.846 MB / 1.742 GB, free: 84.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/3.296, allocations: 79.91 kB / 1.742 GB, free: 84.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/3.296, allocations: 23.91 kB / 1.742 GB, free: 84.7 MB / 0.948 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002806/3.296, allocations: 114.8 kB / 1.742 GB, free: 84.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/3.296, allocations: 55.47 kB / 1.742 GB, free: 84.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/3.299, allocations: 0.6213 MB / 1.743 GB, free: 83.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/3.299, allocations: 11.91 kB / 1.743 GB, free: 83.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/3.299, allocations: 0 / 1.743 GB, free: 83.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/3.302, allocations: 0.6946 MB / 1.744 GB, free: 83.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/3.307, allocations: 1.57 MB / 1.745 GB, free: 81.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/3.307, allocations: 0 / 1.745 GB, free: 81.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/3.307, allocations: 51.97 kB / 1.745 GB, free: 81.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/3.309, allocations: 237.4 kB / 1.745 GB, free: 81.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/3.309, allocations: 11.98 kB / 1.745 GB, free: 81.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/3.316, allocations: 3.633 MB / 1.749 GB, free: 77.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/3.316, allocations: 0 / 1.749 GB, free: 77.34 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003127/3.32, allocations: 0.8897 MB / 1.75 GB, free: 76.42 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004114/3.324, allocations: 1.508 MB / 1.751 GB, free: 74.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/3.324, allocations: 192.3 kB / 1.751 GB, free: 74.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/3.325, allocations: 0 / 1.751 GB, free: 74.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/3.327, allocations: 71.91 kB / 1.751 GB, free: 74.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/3.327, allocations: 23.88 kB / 1.751 GB, free: 74.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/3.327, allocations: 8 kB / 1.751 GB, free: 74.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006051/3.327, allocations: 310.9 kB / 1.752 GB, free: 74.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004561/3.332, allocations: 0.492 MB / 1.752 GB, free: 73.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009827/3.333, allocations: 324.7 kB / 1.753 GB, free: 73.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004341/3.337, allocations: 1.171 MB / 1.754 GB, free: 72.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/3.337, allocations: 0 / 1.754 GB, free: 72.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/3.339, allocations: 479.5 kB / 1.754 GB, free: 71.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/3.342, allocations: 306.5 kB / 1.754 GB, free: 71.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/3.346, allocations: 0.9294 MB / 1.755 GB, free: 70.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/3.346, allocations: 0.9854 MB / 1.756 GB, free: 69.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.372e-06/3.346, allocations: 0 / 1.756 GB, free: 69.49 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)