Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.003997/0.003997, allocations: 180.9 kB / 7.459 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7454/0.7454, 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.646/1.646, allocations: 221.3 MB / 395 MB, free: 10.25 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.001183/0.001183, allocations: 101.2 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.532/0.5333, allocations: 88.43 MB / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.7074, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.18/4.887, allocations: 1.881 GB / 2.515 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/4.887, allocations: 91.94 kB / 2.515 GB, free: 82.35 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 1.666/6.554, allocations: 463.4 MB / 2.967 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/6.554, allocations: 7.875 kB / 2.967 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/6.556, allocations: 337.3 kB / 2.967 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/6.557, allocations: 0.8666 MB / 2.968 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/6.557, allocations: 32.53 kB / 2.968 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/6.558, allocations: 49.09 kB / 2.968 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/6.559, allocations: 0.7276 MB / 2.969 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/6.56, allocations: 0.836 MB / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/6.56, allocations: 0 / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/6.56, allocations: 11.34 kB / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/6.56, allocations: 29.25 kB / 2.97 GB, free: 146 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/6.565, allocations: 3.306 MB / 2.973 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/6.566, allocations: 451.6 kB / 2.974 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004247/6.567, allocations: 254.9 kB / 2.974 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002391/6.567, allocations: 106.8 kB / 2.974 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/6.567, allocations: 39.12 kB / 2.974 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.256e-06/6.567, allocations: 0 / 2.974 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.003404/6.57, allocations: 1.352 MB / 2.975 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/6.57, allocations: 61.19 kB / 2.975 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/6.571, allocations: 0.524 MB / 2.976 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/6.571, allocations: 28.3 kB / 2.976 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/6.571, allocations: 386 kB / 2.976 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/6.571, allocations: 167.3 kB / 2.976 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/6.571, allocations: 0 / 2.976 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/6.571, allocations: 380.1 kB / 2.977 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/6.572, allocations: 205.9 kB / 2.977 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/6.572, allocations: 336.2 kB / 2.977 GB, free: 141.1 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.002866/6.575, allocations: 0.9426 MB / 2.978 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/6.575, allocations: 3.844 kB / 2.978 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001362/6.576, allocations: 0.6997 MB / 2.979 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/6.577, allocations: 5.281 kB / 2.979 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/6.577, allocations: 6.031 kB / 2.979 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/6.577, allocations: 83.92 kB / 2.979 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/6.578, allocations: 134.8 kB / 2.979 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/6.58, allocations: 2.783 MB / 2.982 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/6.581, allocations: 57.95 kB / 2.982 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/6.581, allocations: 20.88 kB / 2.982 GB, free: 137.5 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start 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 (67): * Single equations (assignments): 65 * 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 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000219/6.581, allocations: 122.8 kB / 2.982 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/6.582, allocations: 79.44 kB / 2.982 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/6.582, allocations: 81.58 kB / 2.982 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/6.582, allocations: 4.656 kB / 2.982 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/6.582, allocations: 4.5 kB / 2.982 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/6.583, allocations: 0.7893 MB / 2.983 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/6.586, allocations: 1.594 MB / 2.985 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/6.586, allocations: 5.188 kB / 2.985 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/6.586, allocations: 112.5 kB / 2.985 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/6.586, allocations: 63.44 kB / 2.985 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/6.587, allocations: 5.969 kB / 2.985 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/6.588, allocations: 1.513 MB / 2.986 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/6.588, allocations: 2.719 kB / 2.986 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001421/6.589, allocations: 1.144 MB / 2.987 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002223/6.591, allocations: 1.864 MB / 2.989 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/6.592, allocations: 222.2 kB / 2.989 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/6.592, allocations: 5 kB / 2.989 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/6.593, allocations: 49.11 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/6.593, allocations: 42.17 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/6.593, allocations: 27.95 kB / 2.989 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006793/6.594, allocations: 409.2 kB / 2.99 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002677/6.597, allocations: 0.5046 MB / 2.99 GB, free: 131.1 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 (45): * 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): 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.002153/6.599, allocations: 1.431 MB / 2.992 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001081/6.6, allocations: 0.701 MB / 2.992 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.6, allocations: 0 / 2.992 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/6.6, allocations: 348.4 kB / 2.993 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/6.602, allocations: 447.6 kB / 2.993 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/6.605, allocations: 1.32 MB / 2.994 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/6.606, allocations: 1.174 MB / 2.996 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of SimCode: time 9.21e-07/6.606, allocations: 0 / 2.996 GB, free: 126.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)