Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_dev_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.003068/0.003068, allocations: 179.3 kB / 7.457 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.7494/0.7494, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.453/1.453, allocations: 221.3 MB / 395 MB, free: 10.24 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.0009406/0.0009406, allocations: 93.66 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4393/0.4403, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.6064, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.458/5.064, allocations: 1.893 GB / 2.526 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/5.065, allocations: 91.61 kB / 2.526 GB, free: 70.2 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.01/7.074, allocations: 0.5966 GB / 3.123 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/7.075, allocations: 12 kB / 3.123 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/7.076, allocations: 226.5 kB / 3.123 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/7.077, allocations: 0.6758 MB / 3.124 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/7.077, allocations: 27.91 kB / 3.124 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.381e-05/7.077, allocations: 44 kB / 3.124 GB, free: 1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008327/7.078, allocations: 0.531 MB / 3.124 GB, free: 480 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3823/7.46, allocations: 0.791 MB / 3.125 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/7.46, allocations: 7.625 kB / 3.125 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/7.46, allocations: 3.5 kB / 3.125 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.054e-05/7.46, allocations: 28.22 kB / 3.125 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/7.465, allocations: 4.45 MB / 3.129 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/7.466, allocations: 440.5 kB / 3.13 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/7.467, allocations: 223.1 kB / 3.13 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000227/7.467, allocations: 102.4 kB / 3.13 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/7.467, allocations: 48.81 kB / 3.13 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 4.338e-06/7.467, allocations: 0 / 3.13 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002792/7.47, allocations: 1.338 MB / 3.131 GB, free: 180 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/7.47, allocations: 110.1 kB / 3.131 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/7.47, allocations: 434.1 kB / 3.132 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/7.47, allocations: 25.7 kB / 3.132 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/7.471, allocations: 352.9 kB / 3.132 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/7.471, allocations: 151.4 kB / 3.132 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/7.471, allocations: 1.859 kB / 3.132 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001262/7.471, allocations: 383.2 kB / 3.133 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/7.471, allocations: 165.6 kB / 3.133 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000381/7.471, allocations: 403.2 kB / 3.133 GB, free: 178.9 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.473, allocations: 0.6449 MB / 3.134 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/7.473, allocations: 3.781 kB / 3.134 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007877/7.474, allocations: 0.5817 MB / 3.134 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/7.474, allocations: 3.844 kB / 3.134 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/7.474, allocations: 10.69 kB / 3.134 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/7.474, allocations: 14.05 kB / 3.134 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/7.474, allocations: 122.9 kB / 3.135 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/7.474, allocations: 14 kB / 3.135 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/7.475, allocations: 33.86 kB / 3.135 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/7.475, allocations: 33.38 kB / 3.135 GB, free: 178.7 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.000133/7.475, allocations: 128.7 kB / 3.135 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/7.475, allocations: 69.75 kB / 3.135 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/7.475, allocations: 72.72 kB / 3.135 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/7.476, allocations: 7.344 kB / 3.135 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/7.476, allocations: 0 / 3.135 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005921/7.476, allocations: 0.6628 MB / 3.136 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/7.478, allocations: 1.485 MB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/7.478, allocations: 3.719 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/7.479, allocations: 101.3 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/7.479, allocations: 3.688 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/7.479, allocations: 10.55 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/7.479, allocations: 12.31 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.479, allocations: 3.906 kB / 3.137 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001162/7.48, allocations: 1.023 MB / 3.138 GB, free: 177 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001862/7.482, allocations: 1.705 MB / 3.14 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/7.482, allocations: 193.5 kB / 3.14 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/7.482, allocations: 3.5 kB / 3.14 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/7.483, allocations: 33 kB / 3.14 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/7.483, allocations: 32.11 kB / 3.14 GB, free: 176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/7.483, allocations: 19.45 kB / 3.14 GB, free: 176 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003493/7.483, allocations: 331.5 kB / 3.14 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00217/7.485, allocations: 0.4968 MB / 3.141 GB, free: 175.9 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.002548/7.488, allocations: 1.885 MB / 3.143 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007537/7.489, allocations: 429.9 kB / 3.143 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.489, allocations: 0 / 3.143 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/7.489, allocations: 206.7 kB / 3.143 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/7.49, allocations: 284 kB / 3.144 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/7.493, allocations: 1.256 MB / 3.145 GB, free: 175 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/7.493, allocations: 1.115 MB / 3.146 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.112e-06/7.494, allocations: 0 / 3.146 GB, free: 174.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)