Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",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/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 191 kB / 7.803 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4678/0.4678, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.4 MB / 342.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009424/0.0009424, allocations: 103.2 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1582/0.1592, allocations: 78.44 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.5153, allocations: 72.3 MB / 0.553 GB, free: 73.53 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.754/9.27, allocations: 4.624 GB / 5.177 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/9.27, allocations: 83.95 kB / 5.177 GB, free: 57.63 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 1.594/10.86, allocations: 0.5029 GB / 5.68 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/10.86, allocations: 8 kB / 5.68 GB, free: 18.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/10.87, allocations: 346.5 kB / 5.68 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/10.87, allocations: 0.9092 MB / 5.681 GB, free: 17.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/10.87, allocations: 20 kB / 5.681 GB, free: 17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/10.87, allocations: 36 kB / 5.681 GB, free: 16.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001006/10.87, allocations: 0.5375 MB / 5.681 GB, free: 16.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/10.87, allocations: 0.5233 MB / 5.682 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/10.87, allocations: 3.906 kB / 5.682 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.03e-05/10.87, allocations: 0 / 5.682 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/10.87, allocations: 25.25 kB / 5.682 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/10.87, allocations: 2.816 MB / 5.685 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/10.88, allocations: 420.3 kB / 5.685 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/10.88, allocations: 238.7 kB / 5.685 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/10.88, allocations: 107.3 kB / 5.685 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/10.88, allocations: 42.47 kB / 5.685 GB, free: 12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/10.88, allocations: 3.938 kB / 5.685 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.007868/10.88, allocations: 2.505 MB / 5.688 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/10.88, allocations: 59.91 kB / 5.688 GB, free: 9.359 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/10.88, allocations: 478.4 kB / 5.688 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/10.88, allocations: 25.7 kB / 5.688 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/10.88, allocations: 268.3 kB / 5.689 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/10.88, allocations: 212.8 kB / 5.689 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/10.89, allocations: 4 kB / 5.689 GB, free: 8.375 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001072/10.89, allocations: 378.8 kB / 5.689 GB, free: 7.996 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/10.89, allocations: 253.2 kB / 5.689 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003723/10.89, allocations: 354.3 kB / 5.69 GB, free: 7.371 MB / 0.6042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005613/10.89, allocations: 1.387 MB / 5.691 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/10.89, allocations: 4 kB / 5.691 GB, free: 5.961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002384/10.89, allocations: 1.012 MB / 5.692 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/10.89, allocations: 0.6227 MB / 5.693 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/10.89, allocations: 0 / 5.693 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/10.9, allocations: 431.5 kB / 5.693 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/10.9, allocations: 87.83 kB / 5.693 GB, free: 3.762 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2801/11.18, allocations: 4.38 MB / 5.698 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/11.18, allocations: 47.84 kB / 5.698 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/11.18, allocations: 24.69 kB / 5.698 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/11.18, allocations: 5.938 kB / 5.698 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002283/11.18, allocations: 0.9177 MB / 5.698 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/11.18, allocations: 1.969 kB / 5.699 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/11.18, allocations: 432 kB / 5.699 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/11.18, allocations: 79.67 kB / 5.699 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005486/11.19, allocations: 3.8 MB / 5.703 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/11.19, allocations: 48.47 kB / 5.703 GB, free: 156.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/11.19, allocations: 18.75 kB / 5.703 GB, free: 156.8 MB / 0.6042 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.000264/11.19, allocations: 132.8 kB / 5.703 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/11.19, allocations: 73.72 kB / 5.703 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/11.19, allocations: 1.014 MB / 5.704 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/11.19, allocations: 6.062 kB / 5.704 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/11.19, allocations: 0 / 5.704 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002157/11.19, allocations: 1.221 MB / 5.705 GB, free: 156.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/11.2, allocations: 2.174 MB / 5.707 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/11.2, allocations: 0 / 5.707 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003541/11.2, allocations: 71.73 kB / 5.707 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/11.2, allocations: 452.6 kB / 5.708 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/11.2, allocations: 13.92 kB / 5.708 GB, free: 155.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/11.21, allocations: 4.316 MB / 5.712 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/11.21, allocations: 2.625 kB / 5.712 GB, free: 154 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00277/11.21, allocations: 1.458 MB / 5.713 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003421/11.21, allocations: 2.298 MB / 5.716 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/11.21, allocations: 238 kB / 5.716 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/11.21, allocations: 9.812 kB / 5.716 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/11.21, allocations: 43.23 kB / 5.716 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/11.21, allocations: 29.53 kB / 5.716 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/11.21, allocations: 28.39 kB / 5.716 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004712/11.21, allocations: 371.6 kB / 5.716 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003998/11.22, allocations: 0.8338 MB / 5.717 GB, free: 152.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/11.22, allocations: 1.38 MB / 5.719 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002855/11.22, allocations: 1.416 MB / 5.72 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/11.22, allocations: 1.406 kB / 5.72 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/11.22, allocations: 0.5238 MB / 5.72 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/11.23, allocations: 426 kB / 5.721 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/11.23, allocations: 1.523 MB / 5.722 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006233/11.23, allocations: 1.112 MB / 5.723 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of SimCode: time 6.52e-07/11.23, allocations: 2.719 kB / 5.723 GB, free: 151.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)