Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8292/0.8292, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00194/0.00194, allocations: 185.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 89.2 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4133/0.4146, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.6275, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.708, allocations: 485.3 MB / 1.095 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.709, allocations: 91.94 kB / 1.095 GB, free: 15.54 MB / 0.6355 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 2.303/4.012, allocations: 0.5762 GB / 1.671 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/4.012, allocations: 7.906 kB / 1.671 GB, free: 129.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/4.013, allocations: 140 kB / 1.671 GB, free: 129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06604/4.079, allocations: 30.89 MB / 1.702 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/4.08, allocations: 16.78 kB / 1.702 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/4.08, allocations: 30.81 kB / 1.702 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008117/4.081, allocations: 285.4 kB / 1.702 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009261/4.081, allocations: 452 kB / 1.702 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/4.081, allocations: 4.781 kB / 1.702 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/4.082, allocations: 1.906 kB / 1.702 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/4.082, allocations: 13.97 kB / 1.702 GB, free: 128 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/4.085, allocations: 2.832 MB / 1.705 GB, free: 126 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/4.086, allocations: 161 kB / 1.705 GB, free: 126 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/4.086, allocations: 112.5 kB / 1.705 GB, free: 126 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008673/4.087, allocations: 1.523 MB / 1.707 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/4.087, allocations: 37.64 kB / 1.707 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/4.087, allocations: 0 / 1.707 GB, free: 124.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.006722/4.093, allocations: 1.662 MB / 1.709 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/4.094, allocations: 55.42 kB / 1.709 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/4.094, allocations: 417.8 kB / 1.709 GB, free: 123.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/4.095, allocations: 25.7 kB / 1.709 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/4.095, allocations: 260.6 kB / 1.709 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/4.095, allocations: 123.8 kB / 1.709 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/4.095, allocations: 0 / 1.709 GB, free: 123.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001827/4.095, allocations: 364.8 kB / 1.71 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/4.096, allocations: 132.8 kB / 1.71 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/4.096, allocations: 243.2 kB / 1.71 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/4.097, allocations: 242.7 kB / 1.71 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/4.097, allocations: 0 / 1.71 GB, free: 122.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002225/4.099, allocations: 0.6218 MB / 1.711 GB, free: 122.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/4.1, allocations: 1.135 MB / 1.712 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/4.1, allocations: 6.141 kB / 1.712 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/4.1, allocations: 167.2 kB / 1.712 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/4.101, allocations: 77.7 kB / 1.712 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/4.102, allocations: 1.383 MB / 1.714 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/4.103, allocations: 37.33 kB / 1.714 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.609e-05/4.103, allocations: 39.17 kB / 1.714 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/4.103, allocations: 6.125 kB / 1.714 GB, free: 120.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/4.104, allocations: 0.503 MB / 1.714 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/4.104, allocations: 8.297 kB / 1.714 GB, free: 120 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/4.105, allocations: 169.6 kB / 1.714 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/4.105, allocations: 68.09 kB / 1.714 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/4.107, allocations: 1.386 MB / 1.716 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/4.107, allocations: 27.16 kB / 1.716 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/4.107, allocations: 39 kB / 1.716 GB, free: 118.8 MB / 0.6355 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 (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 7,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002501/4.108, allocations: 135.3 kB / 1.716 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/4.108, allocations: 74.09 kB / 1.716 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/4.111, allocations: 0.8654 MB / 1.717 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.41e-05/4.111, allocations: 10.31 kB / 1.717 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/4.111, allocations: 1 kB / 1.717 GB, free: 118.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001625/4.112, allocations: 0.7467 MB / 1.718 GB, free: 118 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003492/4.116, allocations: 1.425 MB / 1.719 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/4.116, allocations: 0 / 1.719 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/4.116, allocations: 41.14 kB / 1.719 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000525/4.117, allocations: 159.8 kB / 1.719 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/4.117, allocations: 7.75 kB / 1.719 GB, free: 117.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/4.118, allocations: 1.379 MB / 1.721 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/4.118, allocations: 0 / 1.721 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002535/4.121, allocations: 1.005 MB / 1.722 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00332/4.124, allocations: 1.728 MB / 1.723 GB, free: 114.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/4.125, allocations: 214.4 kB / 1.723 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/4.125, allocations: 2.25 kB / 1.723 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/4.126, allocations: 36.3 kB / 1.723 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/4.126, allocations: 27.53 kB / 1.723 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.625e-05/4.126, allocations: 29.19 kB / 1.724 GB, free: 114.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005864/4.126, allocations: 322.3 kB / 1.724 GB, free: 114.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004804/4.131, allocations: 0.8837 MB / 1.725 GB, free: 114 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (29): * Single equations (assignments): 23 * Array equations: 4 * 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.003328/4.134, allocations: 0.8302 MB / 1.725 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002153/4.137, allocations: 0.6938 MB / 1.726 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/4.137, allocations: 0 / 1.726 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006056/4.137, allocations: 271.4 kB / 1.726 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/4.139, allocations: 272.4 kB / 1.727 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/4.142, allocations: 0.9664 MB / 1.728 GB, free: 113 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/4.144, allocations: 1.061 MB / 1.729 GB, free: 112.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.064e-06/4.144, allocations: 0 / 1.729 GB, free: 112.3 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)