Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.003919/0.003919, allocations: 184.5 kB / 7.461 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.7258/0.7258, allocations: 133.5 MB / 141.4 MB, free: 15.79 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.642/1.642, 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.001181/0.001181, allocations: 89.73 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4859/0.4871, allocations: 88.43 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.6811, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.289/4.97, allocations: 1.882 GB / 2.515 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/4.971, allocations: 87.94 kB / 2.515 GB, free: 79.66 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 2.011/6.982, allocations: 0.5726 GB / 3.088 GB, free: 32.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/6.982, allocations: 12 kB / 3.088 GB, free: 32.25 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/6.984, allocations: 346.3 kB / 3.088 GB, free: 31.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/6.986, allocations: 0.812 MB / 3.089 GB, free: 31.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003316/6.986, allocations: 109.9 kB / 3.089 GB, free: 30.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/6.986, allocations: 48 kB / 3.089 GB, free: 30.89 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001146/6.987, allocations: 0.7029 MB / 3.09 GB, free: 30.19 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/6.989, allocations: 0.8825 MB / 3.091 GB, free: 29.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/6.989, allocations: 3.938 kB / 3.091 GB, free: 29.27 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/6.989, allocations: 4 kB / 3.091 GB, free: 29.26 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/6.989, allocations: 37.89 kB / 3.091 GB, free: 29.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/6.993, allocations: 3.907 MB / 3.095 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/6.994, allocations: 374.8 kB / 3.095 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/6.994, allocations: 201.6 kB / 3.095 GB, free: 24.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/6.995, allocations: 97.09 kB / 3.095 GB, free: 24.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/6.995, allocations: 38.56 kB / 3.095 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.797e-06/6.995, allocations: 0 / 3.095 GB, free: 24.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=38): time 0.002345/6.997, allocations: 1.113 MB / 3.097 GB, free: 23.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/6.997, allocations: 55.41 kB / 3.097 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006122/6.998, allocations: 0.5661 MB / 3.097 GB, free: 22.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/6.998, allocations: 29.7 kB / 3.097 GB, free: 22.51 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/6.998, allocations: 406.4 kB / 3.098 GB, free: 22.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/6.998, allocations: 142 kB / 3.098 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/6.998, allocations: 0 / 3.098 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.998, allocations: 378.8 kB / 3.098 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/6.998, allocations: 197.2 kB / 3.098 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/6.999, allocations: 369.1 kB / 3.099 GB, free: 20.96 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.001752/7, allocations: 0.7239 MB / 3.099 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/7, allocations: 4 kB / 3.099 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009111/7.001, allocations: 0.6253 MB / 3.1 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/7.001, allocations: 8.094 kB / 3.1 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.001, allocations: 11.98 kB / 3.1 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/7.001, allocations: 8 kB / 3.1 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/7.002, allocations: 143.8 kB / 3.1 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/7.002, allocations: 19.88 kB / 3.1 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000964/7.003, allocations: 87.69 kB / 3.1 GB, free: 19.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/7.003, allocations: 27.98 kB / 3.1 GB, free: 19.28 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: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.0001574/7.003, allocations: 121.5 kB / 3.1 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/7.003, allocations: 75.16 kB / 3.1 GB, free: 19.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/7.004, allocations: 78.7 kB / 3.1 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/7.004, allocations: 11.98 kB / 3.1 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/7.004, allocations: 0 / 3.1 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005419/7.004, allocations: 0.6441 MB / 3.101 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/7.006, allocations: 1.453 MB / 3.102 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/7.006, allocations: 4 kB / 3.103 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/7.007, allocations: 83.89 kB / 3.103 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/7.007, allocations: 8 kB / 3.103 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/7.007, allocations: 11.91 kB / 3.103 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/7.007, allocations: 11.94 kB / 3.103 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/7.007, allocations: 4 kB / 3.103 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009239/7.008, allocations: 0.9928 MB / 3.104 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001528/7.009, allocations: 1.651 MB / 3.105 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/7.01, allocations: 208.2 kB / 3.105 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/7.01, allocations: 11.91 kB / 3.105 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007011/7.011, allocations: 51.89 kB / 3.105 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/7.011, allocations: 35.81 kB / 3.105 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/7.011, allocations: 31.98 kB / 3.106 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004957/7.011, allocations: 435.1 kB / 3.106 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002212/7.013, allocations: 484 kB / 3.106 GB, free: 12.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002431/7.016, allocations: 1.509 MB / 3.108 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009279/7.017, allocations: 437.3 kB / 3.108 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/7.017, allocations: 4 kB / 3.108 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002104/7.017, allocations: 187.2 kB / 3.108 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/7.019, allocations: 383.8 kB / 3.109 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/7.022, allocations: 1.377 MB / 3.11 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007894/7.023, allocations: 1.191 MB / 3.111 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/7.023, allocations: 0 / 3.111 GB, free: 7.148 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)