Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.003091/0.003091, allocations: 181.6 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7898/0.7898, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.547/1.547, 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.00108/0.00108, allocations: 82.3 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4325/0.4336, allocations: 88.43 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.6166, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.058/4.675, allocations: 1.894 GB / 2.527 GB, free: 67.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/4.675, allocations: 87.95 kB / 2.527 GB, free: 66.96 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 4.809/9.484, allocations: 1.358 GB / 3.885 GB, free: 40.85 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/9.484, allocations: 8 kB / 3.885 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/9.487, allocations: 0.5281 MB / 3.886 GB, free: 40.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003502/9.491, allocations: 1.457 MB / 3.887 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/9.491, allocations: 130.1 kB / 3.887 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/9.491, allocations: 88 kB / 3.887 GB, free: 38.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002144/9.493, allocations: 1.22 MB / 3.888 GB, free: 37.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/9.496, allocations: 1.483 MB / 3.89 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/9.496, allocations: 4 kB / 3.89 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/9.496, allocations: 7.906 kB / 3.89 GB, free: 35.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/9.496, allocations: 58.69 kB / 3.89 GB, free: 35.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009036/9.505, allocations: 8.222 MB / 3.898 GB, free: 26.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/9.506, allocations: 0.5526 MB / 3.898 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005699/9.506, allocations: 0.4903 MB / 3.899 GB, free: 25.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/9.507, allocations: 409.1 kB / 3.899 GB, free: 25.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/9.507, allocations: 47.25 kB / 3.899 GB, free: 25.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/9.507, allocations: 3.938 kB / 3.899 GB, free: 25.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=102): time 0.006198/9.513, allocations: 2.649 MB / 3.902 GB, free: 22.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/9.513, allocations: 68.41 kB / 3.902 GB, free: 22.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/9.514, allocations: 0.8983 MB / 3.903 GB, free: 21.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/9.514, allocations: 29.7 kB / 3.903 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/9.515, allocations: 0.5859 MB / 3.903 GB, free: 20.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/9.515, allocations: 350.8 kB / 3.904 GB, free: 20.6 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/9.515, allocations: 0 / 3.904 GB, free: 20.6 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.237e-05/9.515, allocations: 353.9 kB / 3.904 GB, free: 20.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/9.516, allocations: 386.5 kB / 3.905 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/9.516, allocations: 0.7794 MB / 3.905 GB, free: 18.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/9.517, allocations: 0.5675 MB / 3.906 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/9.517, allocations: 4 kB / 3.906 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001775/9.519, allocations: 1.283 MB / 3.907 GB, free: 17.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008528/9.52, allocations: 3.635 MB / 3.911 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/9.52, allocations: 8 kB / 3.911 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.451e-05/9.52, allocations: 16 kB / 3.911 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/9.521, allocations: 287.5 kB / 3.911 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/9.521, allocations: 19.94 kB / 3.911 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/9.523, allocations: 143.6 kB / 3.911 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/9.523, allocations: 59.98 kB / 3.911 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/9.523, allocations: 4 kB / 3.911 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/9.525, allocations: 1.084 MB / 3.912 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/9.525, allocations: 8 kB / 3.912 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/9.525, allocations: 19.94 kB / 3.912 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/9.526, allocations: 279.7 kB / 3.913 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/9.526, allocations: 27.83 kB / 3.913 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/9.527, allocations: 147.5 kB / 3.913 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/9.528, allocations: 52 kB / 3.913 GB, free: 11.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002808/9.528, allocations: 148.6 kB / 3.913 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/9.528, allocations: 154.1 kB / 3.913 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/9.53, allocations: 1.073 MB / 3.914 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/9.53, allocations: 8 kB / 3.914 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/9.53, allocations: 3.906 kB / 3.914 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/9.531, allocations: 1.034 MB / 3.915 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/9.536, allocations: 2.548 MB / 3.918 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/9.536, allocations: 4 kB / 3.918 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/9.537, allocations: 252 kB / 3.918 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/9.537, allocations: 11.94 kB / 3.918 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/9.537, allocations: 15.98 kB / 3.918 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/9.537, allocations: 7.938 kB / 3.918 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/9.537, allocations: 7.906 kB / 3.918 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0021/9.539, allocations: 1.823 MB / 3.92 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003286/9.542, allocations: 2.947 MB / 3.923 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008191/9.543, allocations: 327.1 kB / 3.923 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/9.543, allocations: 11 kB / 3.923 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/9.545, allocations: 135.6 kB / 3.923 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/9.545, allocations: 52.7 kB / 3.923 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-05/9.545, allocations: 43.91 kB / 3.923 GB, free: 136 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.001113/9.546, allocations: 0.6644 MB / 3.924 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005951/9.552, allocations: 1.703 MB / 3.925 GB, free: 13.76 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005264/9.557, allocations: 3.345 MB / 3.929 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003225/9.561, allocations: 1.612 MB / 3.93 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/9.561, allocations: 3.938 kB / 3.93 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/9.561, allocations: 487.7 kB / 3.931 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/9.567, allocations: 0.8284 MB / 3.932 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/9.573, allocations: 2.783 MB / 3.934 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/9.575, allocations: 1.638 MB / 3.936 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/9.575, allocations: 0 / 3.936 GB, free: 2.711 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)