Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.00594/0.00594, allocations: 186.2 kB / 7.46 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7166/0.7166, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 90.72 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.496, allocations: 88.44 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.692, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.485/5.177, allocations: 1.881 GB / 2.515 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/5.178, allocations: 79.95 kB / 2.515 GB, free: 80.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 1.913/7.091, allocations: 0.5771 GB / 3.092 GB, free: 27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/7.091, allocations: 8 kB / 3.092 GB, free: 27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002548/7.093, allocations: 450.2 kB / 3.092 GB, free: 26.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/7.095, allocations: 0.7965 MB / 3.093 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/7.095, allocations: 105.9 kB / 3.093 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/7.095, allocations: 44 kB / 3.093 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001217/7.097, allocations: 0.6716 MB / 3.094 GB, free: 24.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/7.098, allocations: 0.798 MB / 3.095 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/7.098, allocations: 0 / 3.095 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/7.098, allocations: 0 / 3.095 GB, free: 24.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-05/7.098, allocations: 33.89 kB / 3.095 GB, free: 24.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/7.103, allocations: 3.274 MB / 3.098 GB, free: 20.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005707/7.104, allocations: 423.5 kB / 3.098 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/7.104, allocations: 229.8 kB / 3.098 GB, free: 19.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/7.104, allocations: 107.4 kB / 3.099 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/7.104, allocations: 42.55 kB / 3.099 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.973e-06/7.104, allocations: 3.938 kB / 3.099 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.003994/7.108, allocations: 1.459 MB / 3.1 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/7.108, allocations: 59.41 kB / 3.1 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/7.109, allocations: 0.5036 MB / 3.101 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/7.109, allocations: 25.7 kB / 3.101 GB, free: 17.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000157/7.109, allocations: 359 kB / 3.101 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/7.109, allocations: 138 kB / 3.101 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/7.11, allocations: 0 / 3.101 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001507/7.11, allocations: 382.6 kB / 3.101 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/7.11, allocations: 209.2 kB / 3.102 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/7.11, allocations: 322.5 kB / 3.102 GB, free: 16.21 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/7.113, allocations: 1.022 MB / 3.103 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/7.113, allocations: 0 / 3.103 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002404/7.115, allocations: 0.8232 MB / 3.104 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/7.116, allocations: 8.094 kB / 3.104 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/7.116, allocations: 0 / 3.104 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003676/7.116, allocations: 132.8 kB / 3.104 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/7.117, allocations: 143.7 kB / 3.104 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/7.119, allocations: 1.736 MB / 3.106 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/7.12, allocations: 80.09 kB / 3.106 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/7.12, allocations: 24.05 kB / 3.106 GB, free: 12.1 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000223/7.12, allocations: 120.9 kB / 3.106 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/7.12, allocations: 79.06 kB / 3.106 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/7.12, allocations: 78.61 kB / 3.106 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/7.121, allocations: 7.938 kB / 3.106 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/7.121, allocations: 0 / 3.106 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/7.122, allocations: 0.7155 MB / 3.107 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/7.126, allocations: 1.705 MB / 3.108 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/7.126, allocations: 4 kB / 3.108 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/7.126, allocations: 124.2 kB / 3.109 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003063/7.127, allocations: 136.8 kB / 3.109 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/7.127, allocations: 7.984 kB / 3.109 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/7.129, allocations: 1.74 MB / 3.11 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/7.129, allocations: 7.938 kB / 3.11 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002365/7.131, allocations: 1.286 MB / 3.112 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002966/7.134, allocations: 2.023 MB / 3.114 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/7.134, allocations: 216.2 kB / 3.114 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/7.135, allocations: 4 kB / 3.114 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/7.136, allocations: 87.89 kB / 3.114 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/7.136, allocations: 27.97 kB / 3.114 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/7.136, allocations: 23.98 kB / 3.114 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005098/7.136, allocations: 399.1 kB / 3.114 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002527/7.139, allocations: 0.5037 MB / 3.115 GB, free: 2.285 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002286/7.141, allocations: 1.512 MB / 3.116 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001095/7.142, allocations: 0.5888 MB / 3.117 GB, free: 132 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/7.142, allocations: 4 kB / 3.117 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.3575/7.5, allocations: 343.3 kB / 3.117 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/7.502, allocations: 375.3 kB / 3.118 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/7.506, allocations: 1.42 MB / 3.119 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000716/7.506, allocations: 1.127 MB / 3.12 GB, free: 198.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/7.506, allocations: 3 kB / 3.12 GB, free: 198.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)