Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_dev_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.004375/0.004375, allocations: 175.7 kB / 7.451 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7075/0.7075, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.522/1.522, 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.0009864/0.0009863, allocations: 107.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5226/0.5236, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.7283, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.489/5.217, allocations: 1.88 GB / 2.513 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/5.217, allocations: 83.94 kB / 2.513 GB, free: 80.31 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 0.8984/6.116, allocations: 262.8 MB / 2.77 GB, free: 93.33 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/6.116, allocations: 8 kB / 2.77 GB, free: 93.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/6.117, allocations: 183.1 kB / 2.77 GB, free: 93.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/6.118, allocations: 0.5235 MB / 2.771 GB, free: 92.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/6.118, allocations: 15.94 kB / 2.771 GB, free: 92.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/6.118, allocations: 24 kB / 2.771 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006136/6.119, allocations: 373.9 kB / 2.771 GB, free: 92.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/6.119, allocations: 452.1 kB / 2.772 GB, free: 91.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/6.119, allocations: 0 / 2.772 GB, free: 91.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/6.119, allocations: 0 / 2.772 GB, free: 91.72 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/6.119, allocations: 17 kB / 2.772 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/6.122, allocations: 1.617 MB / 2.773 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/6.122, allocations: 295.1 kB / 2.773 GB, free: 89.67 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/6.122, allocations: 177.2 kB / 2.774 GB, free: 89.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/6.123, allocations: 97.03 kB / 2.774 GB, free: 89.38 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/6.123, allocations: 42.56 kB / 2.774 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/6.123, allocations: 0 / 2.774 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00177/6.124, allocations: 0.887 MB / 2.775 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/6.124, allocations: 59.34 kB / 2.775 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/6.125, allocations: 290.1 kB / 2.775 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/6.125, allocations: 25.7 kB / 2.775 GB, free: 88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/6.125, allocations: 220 kB / 2.775 GB, free: 87.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/6.125, allocations: 110.3 kB / 2.775 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/6.125, allocations: 0 / 2.775 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.776e-05/6.125, allocations: 350.7 kB / 2.776 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/6.125, allocations: 120 kB / 2.776 GB, free: 87.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/6.125, allocations: 191.6 kB / 2.776 GB, free: 86.98 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.001415/6.127, allocations: 0.5584 MB / 2.776 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/6.127, allocations: 4 kB / 2.776 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000495/6.127, allocations: 360.9 kB / 2.777 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/6.127, allocations: 12.11 kB / 2.777 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/6.127, allocations: 8 kB / 2.777 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/6.127, allocations: 7.938 kB / 2.777 GB, free: 86.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/6.128, allocations: 71.91 kB / 2.777 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/6.128, allocations: 7.906 kB / 2.777 GB, free: 85.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/6.128, allocations: 11.98 kB / 2.777 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/6.128, allocations: 16 kB / 2.777 GB, free: 85.91 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.0001031/6.128, allocations: 116.8 kB / 2.777 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/6.128, allocations: 39.53 kB / 2.777 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/6.129, allocations: 48.25 kB / 2.777 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/6.129, allocations: 4 kB / 2.777 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/6.129, allocations: 3.984 kB / 2.777 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003753/6.129, allocations: 388.3 kB / 2.778 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/6.13, allocations: 1.156 MB / 2.779 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/6.13, allocations: 4.047 kB / 2.779 GB, free: 84.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003581/6.131, allocations: 79.89 kB / 2.779 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/6.131, allocations: 4 kB / 2.779 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/6.131, allocations: 8 kB / 2.779 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/6.131, allocations: 12.34 kB / 2.779 GB, free: 83.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/6.131, allocations: 15.98 kB / 2.779 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007724/6.132, allocations: 0.8761 MB / 2.78 GB, free: 82.88 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001139/6.133, allocations: 1.487 MB / 2.781 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/6.133, allocations: 160.6 kB / 2.781 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/6.133, allocations: 7.984 kB / 2.781 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/6.134, allocations: 20.05 kB / 2.781 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/6.134, allocations: 23.89 kB / 2.781 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/6.134, allocations: 23.98 kB / 2.781 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002404/6.134, allocations: 232.5 kB / 2.782 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001513/6.135, allocations: 288 kB / 2.782 GB, free: 80.47 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.00147/6.137, allocations: 1.099 MB / 2.783 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004884/6.137, allocations: 296.1 kB / 2.783 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/6.137, allocations: 4 kB / 2.783 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/6.138, allocations: 151.8 kB / 2.783 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/6.139, allocations: 250.5 kB / 2.784 GB, free: 78.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/6.14, allocations: 0.8348 MB / 2.784 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/6.141, allocations: 0.9438 MB / 2.785 GB, free: 76.82 MB / 0.6823 GB Notification: Performance of SimCode: time 4.01e-07/6.141, allocations: 0 / 2.785 GB, free: 76.82 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)