Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.006434/0.006434, allocations: 177.2 kB / 7.454 MB, free: 2.32 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7628/0.7628, allocations: 133.5 MB / 141.4 MB, free: 15.82 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.582/1.582, allocations: 221.3 MB / 395 MB, free: 10.3 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.00101/0.00101, allocations: 103.5 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5181/0.5192, allocations: 88.43 MB / 0.5529 GB, free: 88.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.7208, allocations: 82.3 MB / 0.6333 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.483, allocations: 1.88 GB / 2.513 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/5.483, allocations: 91.39 kB / 2.513 GB, free: 81.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 1.02/6.503, allocations: 262.8 MB / 2.77 GB, free: 94.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/6.503, allocations: 8 kB / 2.77 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/6.504, allocations: 183.1 kB / 2.77 GB, free: 94.08 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000915/6.505, allocations: 0.5235 MB / 2.771 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/6.505, allocations: 12 kB / 2.771 GB, free: 93.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/6.505, allocations: 28 kB / 2.771 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006268/6.506, allocations: 373.8 kB / 2.771 GB, free: 93.11 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/6.506, allocations: 448.1 kB / 2.772 GB, free: 92.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/6.507, allocations: 0 / 2.772 GB, free: 92.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/6.507, allocations: 7.984 kB / 2.772 GB, free: 92.65 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/6.507, allocations: 17 kB / 2.772 GB, free: 92.64 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/6.509, allocations: 1.621 MB / 2.773 GB, free: 90.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/6.509, allocations: 295 kB / 2.773 GB, free: 90.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/6.51, allocations: 173.2 kB / 2.774 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/6.51, allocations: 101.1 kB / 2.774 GB, free: 90.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/6.51, allocations: 34.56 kB / 2.774 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/6.51, allocations: 4 kB / 2.774 GB, free: 90.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001819/6.512, allocations: 0.8908 MB / 2.775 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/6.512, allocations: 55.41 kB / 2.775 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/6.512, allocations: 286.1 kB / 2.775 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/6.512, allocations: 29.7 kB / 2.775 GB, free: 88.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/6.512, allocations: 219.9 kB / 2.775 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/6.512, allocations: 114.3 kB / 2.775 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/6.512, allocations: 0 / 2.775 GB, free: 88.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/6.512, allocations: 350.8 kB / 2.776 GB, free: 88.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/6.513, allocations: 120 kB / 2.776 GB, free: 88.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/6.513, allocations: 187.6 kB / 2.776 GB, free: 87.92 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/6.514, allocations: 0.568 MB / 2.776 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/6.514, allocations: 0 / 2.776 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005072/6.515, allocations: 368.8 kB / 2.777 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/6.515, allocations: 4 kB / 2.777 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/6.515, allocations: 3.984 kB / 2.777 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/6.515, allocations: 4 kB / 2.777 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/6.515, allocations: 68.11 kB / 2.777 GB, free: 86.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/6.515, allocations: 11.89 kB / 2.777 GB, free: 86.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/6.515, allocations: 19.92 kB / 2.777 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/6.516, allocations: 12 kB / 2.777 GB, free: 86.84 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: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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.0001273/6.516, allocations: 114.9 kB / 2.777 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/6.516, allocations: 47.53 kB / 2.777 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/6.516, allocations: 52.25 kB / 2.777 GB, free: 86.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/6.516, allocations: 4.047 kB / 2.777 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/6.516, allocations: 3.984 kB / 2.777 GB, free: 86.62 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000389/6.516, allocations: 384.3 kB / 2.778 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/6.518, allocations: 1.16 MB / 2.779 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/6.518, allocations: 4 kB / 2.779 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/6.518, allocations: 67.91 kB / 2.779 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/6.518, allocations: 8 kB / 2.779 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/6.518, allocations: 4 kB / 2.779 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/6.518, allocations: 15.84 kB / 2.779 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/6.518, allocations: 4 kB / 2.779 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008713/6.519, allocations: 0.884 MB / 2.78 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001334/6.52, allocations: 1.483 MB / 2.781 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/6.521, allocations: 164.7 kB / 2.781 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/6.521, allocations: 4 kB / 2.781 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/6.521, allocations: 23.97 kB / 2.781 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/6.521, allocations: 27.89 kB / 2.781 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/6.521, allocations: 23.98 kB / 2.781 GB, free: 81.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002429/6.522, allocations: 220.6 kB / 2.782 GB, free: 81.69 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001546/6.523, allocations: 295.9 kB / 2.782 GB, free: 81.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (33): * Single equations (assignments): 33 * 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.001724/6.525, allocations: 1.094 MB / 2.783 GB, free: 80.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005543/6.525, allocations: 295.8 kB / 2.783 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/6.525, allocations: 0 / 2.783 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/6.526, allocations: 157 kB / 2.783 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/6.527, allocations: 253.6 kB / 2.784 GB, free: 79.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/6.529, allocations: 0.8309 MB / 2.784 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005674/6.529, allocations: 0.9438 MB / 2.785 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/6.529, allocations: 0 / 2.785 GB, free: 77.75 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)