Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.004376/0.004376, allocations: 184.7 kB / 7.456 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.7265/0.7265, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.535/1.535, allocations: 221.3 MB / 395 MB, free: 10.27 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.001012/0.001012, allocations: 103.1 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4766/0.4776, allocations: 88.43 MB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.6728, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.703/5.376, allocations: 1.893 GB / 2.526 GB, free: 69.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/5.376, allocations: 87.33 kB / 2.526 GB, free: 69.01 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 2.514/7.891, allocations: 0.5966 GB / 3.123 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/7.891, allocations: 8.438 kB / 3.123 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/7.892, allocations: 224 kB / 3.123 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/7.894, allocations: 0.6709 MB / 3.123 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/7.894, allocations: 24.53 kB / 3.124 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/7.894, allocations: 49.66 kB / 3.124 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000943/7.895, allocations: 0.5192 MB / 3.124 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/7.896, allocations: 0.797 MB / 3.125 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/7.896, allocations: 7.469 kB / 3.125 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.855e-05/7.896, allocations: 3.5 kB / 3.125 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/7.896, allocations: 26.47 kB / 3.125 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/7.9, allocations: 4.456 MB / 3.129 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007079/7.9, allocations: 445.6 kB / 3.13 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/7.901, allocations: 218.4 kB / 3.13 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/7.901, allocations: 111.8 kB / 3.13 GB, free: 178 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/7.901, allocations: 38.44 kB / 3.13 GB, free: 178 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.786e-06/7.901, allocations: 0 / 3.13 GB, free: 178 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00242/7.903, allocations: 1.335 MB / 3.131 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/7.903, allocations: 112.8 kB / 3.131 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/7.904, allocations: 437.6 kB / 3.132 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/7.904, allocations: 29.05 kB / 3.132 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/7.904, allocations: 351 kB / 3.132 GB, free: 177 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/7.904, allocations: 153.2 kB / 3.132 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/7.904, allocations: 0 / 3.132 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000106/7.904, allocations: 372.3 kB / 3.133 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/7.905, allocations: 170.3 kB / 3.133 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/7.905, allocations: 402 kB / 3.133 GB, free: 176.3 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/7.907, allocations: 0.6476 MB / 3.134 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/7.907, allocations: 5.5 kB / 3.134 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008244/7.907, allocations: 0.5764 MB / 3.134 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/7.907, allocations: 6.5 kB / 3.134 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/7.907, allocations: 7.875 kB / 3.134 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/7.907, allocations: 13.62 kB / 3.134 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/7.908, allocations: 123.4 kB / 3.135 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/7.908, allocations: 14.25 kB / 3.135 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/7.909, allocations: 39.92 kB / 3.135 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/7.909, allocations: 32.09 kB / 3.135 GB, free: 176.1 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.000138/7.909, allocations: 128 kB / 3.135 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/7.909, allocations: 69 kB / 3.135 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/7.909, allocations: 69.94 kB / 3.135 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/7.909, allocations: 11.5 kB / 3.135 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/7.909, allocations: 3.844 kB / 3.135 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006134/7.91, allocations: 0.6591 MB / 3.136 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/7.912, allocations: 1.483 MB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/7.912, allocations: 3.688 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/7.913, allocations: 103.2 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/7.913, allocations: 10.28 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/7.913, allocations: 6.031 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/7.913, allocations: 8.906 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/7.913, allocations: 9.031 kB / 3.137 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001186/7.914, allocations: 1.021 MB / 3.138 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001828/7.916, allocations: 1.705 MB / 3.14 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/7.916, allocations: 189.1 kB / 3.14 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/7.916, allocations: 10.75 kB / 3.14 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/7.917, allocations: 32.62 kB / 3.14 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/7.917, allocations: 34.94 kB / 3.14 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/7.917, allocations: 18.91 kB / 3.14 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003783/7.917, allocations: 331.1 kB / 3.14 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002074/7.919, allocations: 0.5023 MB / 3.141 GB, free: 173.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002675/7.922, allocations: 1.873 MB / 3.143 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006864/7.923, allocations: 436 kB / 3.143 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/7.923, allocations: 0 / 3.143 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/7.923, allocations: 207.7 kB / 3.143 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/7.924, allocations: 279.7 kB / 3.144 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/7.926, allocations: 1.265 MB / 3.145 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006612/7.927, allocations: 1.113 MB / 3.146 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/7.927, allocations: 0 / 3.146 GB, free: 171.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)