Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.003044/0.003044, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6968/0.6968, 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.555/1.555, allocations: 221.3 MB / 395 MB, free: 10.17 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.001053/0.001053, allocations: 103.2 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5068/0.5079, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.7228, allocations: 82.31 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/2.039, allocations: 373.8 MB / 0.9984 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/2.039, allocations: 96.56 kB / 0.9985 GB, free: 260.4 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.4875/2.526, allocations: 248.2 MB / 1.241 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/2.526, allocations: 12 kB / 1.241 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/2.527, allocations: 142.5 kB / 1.241 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/2.543, allocations: 7.818 MB / 1.249 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/2.543, allocations: 24 kB / 1.249 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/2.544, allocations: 47.91 kB / 1.249 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/2.545, allocations: 0.6599 MB / 1.249 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.327/2.872, allocations: 0.8771 MB / 1.25 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/2.872, allocations: 0 / 1.25 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/2.872, allocations: 3.406 kB / 1.25 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/2.872, allocations: 20.09 kB / 1.25 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00556/2.878, allocations: 4.495 MB / 1.255 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/2.878, allocations: 300.2 kB / 1.255 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/2.879, allocations: 259.6 kB / 1.255 GB, free: 233.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/2.879, allocations: 432.3 kB / 1.256 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/2.879, allocations: 40.52 kB / 1.256 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.675e-06/2.879, allocations: 2.156 kB / 1.256 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.001238/2.88, allocations: 0.5456 MB / 1.256 GB, free: 233.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/2.88, allocations: 55.34 kB / 1.256 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009158/2.881, allocations: 0.7941 MB / 1.257 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.834e-05/2.881, allocations: 29.45 kB / 1.257 GB, free: 233 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/2.882, allocations: 383 kB / 1.257 GB, free: 232.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/2.882, allocations: 144.5 kB / 1.258 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.978e-05/2.882, allocations: 0 / 1.258 GB, free: 232.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.37e-05/2.882, allocations: 328.6 kB / 1.258 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/2.882, allocations: 213.5 kB / 1.258 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/2.882, allocations: 435.5 kB / 1.258 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/2.883, allocations: 323.9 kB / 1.259 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/2.883, allocations: 3.844 kB / 1.259 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001188/2.884, allocations: 0.7618 MB / 1.26 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000512/2.885, allocations: 2.182 MB / 1.262 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/2.885, allocations: 10.88 kB / 1.262 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/2.885, allocations: 54.38 kB / 1.262 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/2.885, allocations: 113.5 kB / 1.262 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/2.886, allocations: 0.6476 MB / 1.262 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008446/2.886, allocations: 87.66 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/2.887, allocations: 29.47 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/2.887, allocations: 3.906 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009379/2.888, allocations: 0.6225 MB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/2.888, allocations: 7.469 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/2.888, allocations: 64.22 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/2.888, allocations: 107.6 kB / 1.263 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/2.889, allocations: 1.584 MB / 1.265 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/2.89, allocations: 78.86 kB / 1.265 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/2.89, allocations: 30.22 kB / 1.265 GB, free: 228 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/2.89, allocations: 127.3 kB / 1.265 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/2.891, allocations: 86 kB / 1.265 GB, free: 227.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/2.892, allocations: 0.6281 MB / 1.266 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/2.892, allocations: 3.781 kB / 1.266 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/2.892, allocations: 0 / 1.266 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007487/2.893, allocations: 0.816 MB / 1.267 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/2.895, allocations: 1.576 MB / 1.268 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/2.895, allocations: 0 / 1.268 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/2.895, allocations: 81.64 kB / 1.268 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.684e-05/2.895, allocations: 29.86 kB / 1.268 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/2.895, allocations: 7.359 kB / 1.268 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/2.896, allocations: 0.5743 MB / 1.269 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/2.896, allocations: 0 / 1.269 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001115/2.897, allocations: 0.9926 MB / 1.27 GB, free: 226.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001529/2.898, allocations: 1.671 MB / 1.271 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/2.899, allocations: 269.2 kB / 1.272 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/2.899, allocations: 3.188 kB / 1.272 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/2.9, allocations: 57.42 kB / 1.272 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/2.9, allocations: 30.67 kB / 1.272 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.766e-05/2.9, allocations: 26.33 kB / 1.272 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007686/2.901, allocations: 0.6182 MB / 1.272 GB, free: 225.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003287/2.904, allocations: 0.6413 MB / 1.273 GB, free: 225.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008653/2.905, allocations: 401 kB / 1.273 GB, free: 225.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001527/2.906, allocations: 0.9772 MB / 1.274 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/2.906, allocations: 7.219 kB / 1.274 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003105/2.907, allocations: 231.7 kB / 1.275 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/2.909, allocations: 0.511 MB / 1.275 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/2.912, allocations: 1.661 MB / 1.277 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001105/2.913, allocations: 1.34 MB / 1.278 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/2.913, allocations: 0 / 1.278 GB, free: 223.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)