Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.257/1.257, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.0009615/0.0009615, allocations: 181 kB / 316 MB, free: 3.523 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.188/1.188, 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.0009165/0.0009161, allocations: 92.86 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.331/0.332, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.4987, allocations: 106.3 MB / 0.8846 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.67, allocations: 0.595 GB / 1.48 GB, free: 108 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.67, allocations: 85.95 kB / 1.48 GB, free: 107.9 MB / 0.8698 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.6134/2.284, allocations: 162.1 MB / 1.638 GB, free: 270.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/2.284, allocations: 11.69 kB / 1.638 GB, free: 270.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003974/2.288, allocations: 299.1 kB / 1.638 GB, free: 270.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/2.289, allocations: 0.6774 MB / 1.639 GB, free: 270 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/2.289, allocations: 14.19 kB / 1.639 GB, free: 270 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/2.29, allocations: 31.62 kB / 1.639 GB, free: 270 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008103/2.29, allocations: 302.4 kB / 1.639 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/2.291, allocations: 439.7 kB / 1.64 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/2.291, allocations: 3.562 kB / 1.64 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/2.291, allocations: 0 / 1.64 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/2.291, allocations: 13.59 kB / 1.64 GB, free: 269.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003212/2.295, allocations: 2.73 MB / 1.642 GB, free: 267.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/2.295, allocations: 200.7 kB / 1.643 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/2.295, allocations: 133.2 kB / 1.643 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/2.296, allocations: 0.6718 MB / 1.643 GB, free: 266.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/2.296, allocations: 37.77 kB / 1.643 GB, free: 266.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=28): time 2.956e-06/2.296, allocations: 3.219 kB / 1.643 GB, free: 266.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.007621/2.304, allocations: 1.659 MB / 1.645 GB, free: 265.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/2.304, allocations: 85.05 kB / 1.645 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/2.304, allocations: 401.1 kB / 1.646 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/2.304, allocations: 28.98 kB / 1.646 GB, free: 265.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/2.305, allocations: 247.9 kB / 1.646 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/2.305, allocations: 137.3 kB / 1.646 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/2.305, allocations: 0 / 1.646 GB, free: 265.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/2.305, allocations: 359.7 kB / 1.646 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/2.305, allocations: 141.7 kB / 1.646 GB, free: 264.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/2.306, allocations: 271.1 kB / 1.647 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/2.306, allocations: 197.8 kB / 1.647 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/2.306, allocations: 0 / 1.647 GB, free: 264.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00243/2.309, allocations: 0.6734 MB / 1.648 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002556/2.309, allocations: 1.221 MB / 1.649 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/2.309, allocations: 3.938 kB / 1.649 GB, free: 262.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/2.31, allocations: 257.7 kB / 1.649 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/2.311, allocations: 74.27 kB / 1.649 GB, free: 262.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/2.316, allocations: 3.843 MB / 1.653 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/2.317, allocations: 77.72 kB / 1.653 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/2.317, allocations: 26.45 kB / 1.653 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/2.317, allocations: 7.25 kB / 1.653 GB, free: 259.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/2.319, allocations: 0.5791 MB / 1.653 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/2.319, allocations: 2.969 kB / 1.653 GB, free: 259.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007686/2.32, allocations: 266.6 kB / 1.654 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/2.32, allocations: 64.61 kB / 1.654 GB, free: 259.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004169/2.324, allocations: 3.861 MB / 1.658 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/2.325, allocations: 79.66 kB / 1.658 GB, free: 256.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/2.325, allocations: 23.19 kB / 1.658 GB, free: 256.2 MB / 0.8698 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.0001616/2.325, allocations: 124.8 kB / 1.658 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/2.326, allocations: 59.41 kB / 1.658 GB, free: 256.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/2.327, allocations: 0.6165 MB / 1.658 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/2.327, allocations: 4.062 kB / 1.658 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/2.327, allocations: 4.125 kB / 1.658 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/2.329, allocations: 0.6916 MB / 1.659 GB, free: 255.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/2.331, allocations: 1.574 MB / 1.661 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/2.331, allocations: 1.375 kB / 1.661 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/2.331, allocations: 54.7 kB / 1.661 GB, free: 254.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008274/2.332, allocations: 237.4 kB / 1.661 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/2.332, allocations: 10.91 kB / 1.661 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/2.336, allocations: 3.636 MB / 1.664 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.336, allocations: 0 / 1.664 GB, free: 251.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001636/2.338, allocations: 0.8817 MB / 1.665 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001971/2.34, allocations: 1.521 MB / 1.667 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/2.34, allocations: 190.6 kB / 1.667 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.176e-05/2.34, allocations: 2.375 kB / 1.667 GB, free: 250 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/2.341, allocations: 69.62 kB / 1.667 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/2.341, allocations: 20.97 kB / 1.667 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/2.341, allocations: 12.73 kB / 1.667 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003149/2.341, allocations: 312.6 kB / 1.667 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002788/2.344, allocations: 493.4 kB / 1.668 GB, free: 249.7 MB / 0.8698 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.0005594/2.345, allocations: 309.5 kB / 1.668 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002379/2.347, allocations: 1.167 MB / 1.669 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/2.347, allocations: 0 / 1.669 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/2.348, allocations: 483.1 kB / 1.67 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/2.35, allocations: 308.5 kB / 1.67 GB, free: 248.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/2.352, allocations: 0.9395 MB / 1.671 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/2.352, allocations: 0.9773 MB / 1.672 GB, free: 247.4 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/2.352, allocations: 2.25 kB / 1.672 GB, free: 247.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)