Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.003525/0.003525, allocations: 180.3 kB / 7.458 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.8118/0.8118, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.552/1.552, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009292/0.0009292, allocations: 105.6 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4965/0.4975, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.6888, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.38/5.069, allocations: 1.884 GB / 2.517 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/5.069, allocations: 91.45 kB / 2.517 GB, free: 75.72 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 1.677/6.746, allocations: 372.6 MB / 2.881 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/6.746, allocations: 7.188 kB / 2.881 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/6.747, allocations: 179.5 kB / 2.881 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/6.749, allocations: 0.5701 MB / 2.882 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/6.749, allocations: 13.81 kB / 2.882 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/6.749, allocations: 27.5 kB / 2.882 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006486/6.749, allocations: 352 kB / 2.882 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/6.75, allocations: 373.3 kB / 2.882 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/6.75, allocations: 0 / 2.882 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/6.75, allocations: 3.906 kB / 2.882 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/6.75, allocations: 19.22 kB / 2.882 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/6.753, allocations: 1.965 MB / 2.884 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/6.753, allocations: 167.1 kB / 2.885 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/6.754, allocations: 171.4 kB / 2.885 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/6.754, allocations: 193.4 kB / 2.885 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/6.754, allocations: 41.47 kB / 2.885 GB, free: 161 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/6.754, allocations: 0 / 2.885 GB, free: 161 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.001208/6.755, allocations: 386.1 kB / 2.885 GB, free: 161 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/6.755, allocations: 55.38 kB / 2.885 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/6.756, allocations: 335.7 kB / 2.886 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/6.756, allocations: 25.7 kB / 2.886 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/6.756, allocations: 221.9 kB / 2.886 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/6.756, allocations: 98.62 kB / 2.886 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/6.756, allocations: 7.719 kB / 2.886 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000128/6.756, allocations: 353.7 kB / 2.886 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/6.756, allocations: 106.4 kB / 2.886 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/6.757, allocations: 206.2 kB / 2.887 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/6.757, allocations: 135.5 kB / 2.887 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/6.757, allocations: 3.906 kB / 2.887 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005676/6.758, allocations: 347.2 kB / 2.887 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001879/6.758, allocations: 0.5282 MB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/6.758, allocations: 3.406 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/6.758, allocations: 3.875 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/6.758, allocations: 69.95 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/6.758, allocations: 5.094 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/6.759, allocations: 51.81 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/6.759, allocations: 17.19 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/6.759, allocations: 6.562 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004215/6.759, allocations: 276.6 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/6.759, allocations: 7.484 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/6.759, allocations: 3.969 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/6.76, allocations: 71.89 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/6.76, allocations: 0 / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/6.76, allocations: 48.69 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/6.76, allocations: 21.66 kB / 2.888 GB, free: 159.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001216/6.76, allocations: 107.4 kB / 2.888 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/6.76, allocations: 47.72 kB / 2.888 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/6.761, allocations: 362.9 kB / 2.889 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/6.761, allocations: 7.156 kB / 2.889 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/6.761, allocations: 0 / 2.889 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005009/6.762, allocations: 406.5 kB / 2.889 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/6.763, allocations: 1.023 MB / 2.89 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/6.763, allocations: 3.719 kB / 2.89 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/6.764, allocations: 64.95 kB / 2.89 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/6.764, allocations: 49.91 kB / 2.89 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/6.764, allocations: 6.875 kB / 2.89 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/6.765, allocations: 1.392 MB / 2.892 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.765, allocations: 3.234 kB / 2.892 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009529/6.766, allocations: 0.7464 MB / 2.892 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001498/6.768, allocations: 1.335 MB / 2.894 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/6.768, allocations: 159.3 kB / 2.894 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/6.768, allocations: 10.84 kB / 2.894 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/6.768, allocations: 37.89 kB / 2.894 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/6.768, allocations: 26.17 kB / 2.894 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/6.769, allocations: 11.72 kB / 2.894 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003168/6.769, allocations: 259 kB / 2.894 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003097/6.772, allocations: 0.6275 MB / 2.895 GB, free: 156.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001849/6.774, allocations: 1.269 MB / 2.896 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001022/6.775, allocations: 449.4 kB / 2.896 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/6.775, allocations: 7.25 kB / 2.896 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004267/6.775, allocations: 249.8 kB / 2.897 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/6.777, allocations: 268.1 kB / 2.897 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/6.779, allocations: 0.821 MB / 2.898 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/6.779, allocations: 0.958 MB / 2.899 GB, free: 155 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/6.779, allocations: 0 / 2.899 GB, free: 155 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)