Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Density",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.005534/0.005533, allocations: 179.8 kB / 7.458 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.8258/0.8258, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.542/1.542, 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.0009052/0.0009053, allocations: 101.5 kB / 477.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5632/0.5642, allocations: 88.43 MB / 0.5529 GB, free: 88.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.7842, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.603/5.388, allocations: 1.888 GB / 2.521 GB, free: 73.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/5.388, allocations: 83.95 kB / 2.521 GB, free: 73.76 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 1.896/7.284, allocations: 490.7 MB / 3 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/7.284, allocations: 8 kB / 3 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/7.286, allocations: 290.6 kB / 3.001 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/7.288, allocations: 0.6404 MB / 3.001 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/7.288, allocations: 20 kB / 3.001 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/7.288, allocations: 32 kB / 3.001 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008459/7.289, allocations: 0.4906 MB / 3.002 GB, free: 121 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008858/7.29, allocations: 0.5556 MB / 3.002 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/7.29, allocations: 0 / 3.002 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/7.29, allocations: 0 / 3.002 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/7.29, allocations: 17.31 kB / 3.002 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/7.293, allocations: 2.468 MB / 3.005 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005283/7.293, allocations: 395 kB / 3.005 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/7.294, allocations: 232.8 kB / 3.005 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007013/7.294, allocations: 481.2 kB / 3.006 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/7.294, allocations: 38.56 kB / 3.006 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/7.294, allocations: 0 / 3.006 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001359/7.296, allocations: 481.2 kB / 3.006 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/7.296, allocations: 55.41 kB / 3.006 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/7.296, allocations: 361.3 kB / 3.007 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/7.296, allocations: 29.7 kB / 3.007 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/7.296, allocations: 256.4 kB / 3.007 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/7.296, allocations: 141.8 kB / 3.007 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/7.297, allocations: 0 / 3.007 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/7.297, allocations: 362.8 kB / 3.007 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/7.297, allocations: 140.8 kB / 3.007 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/7.297, allocations: 263.9 kB / 3.008 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/7.297, allocations: 217.2 kB / 3.008 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/7.297, allocations: 7.984 kB / 3.008 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007171/7.298, allocations: 480.6 kB / 3.008 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/7.298, allocations: 0.8731 MB / 3.009 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/7.299, allocations: 8.031 kB / 3.009 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/7.299, allocations: 11.94 kB / 3.009 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/7.299, allocations: 115.9 kB / 3.009 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/7.3, allocations: 0.6015 MB / 3.01 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/7.3, allocations: 71.67 kB / 3.01 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/7.3, allocations: 19.98 kB / 3.01 GB, free: 112 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/7.3, allocations: 4 kB / 3.01 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006284/7.301, allocations: 403.8 kB / 3.01 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/7.301, allocations: 4 kB / 3.01 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/7.301, allocations: 4.281 kB / 3.01 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/7.301, allocations: 103.9 kB / 3.011 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/7.302, allocations: 7.938 kB / 3.011 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/7.302, allocations: 59.61 kB / 3.011 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/7.302, allocations: 20 kB / 3.011 GB, free: 111.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/7.302, allocations: 113.2 kB / 3.011 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/7.302, allocations: 59.34 kB / 3.011 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008417/7.303, allocations: 465.9 kB / 3.011 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/7.303, allocations: 7.906 kB / 3.011 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.303, allocations: 0 / 3.011 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006442/7.304, allocations: 0.6756 MB / 3.012 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/7.306, allocations: 1.201 MB / 3.013 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/7.306, allocations: 4 kB / 3.013 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005682/7.306, allocations: 120.2 kB / 3.013 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/7.306, allocations: 4 kB / 3.013 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/7.306, allocations: 11.89 kB / 3.013 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002437/7.307, allocations: 0.5938 MB / 3.014 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/7.307, allocations: 4 kB / 3.014 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000983/7.308, allocations: 0.9173 MB / 3.015 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001582/7.309, allocations: 1.581 MB / 3.016 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/7.309, allocations: 184.3 kB / 3.016 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/7.31, allocations: 4 kB / 3.016 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/7.31, allocations: 43.86 kB / 3.016 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/7.31, allocations: 27.97 kB / 3.016 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/7.31, allocations: 16 kB / 3.017 GB, free: 105 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002919/7.311, allocations: 290.9 kB / 3.017 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002943/7.313, allocations: 0.7607 MB / 3.018 GB, free: 103.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00215/7.316, allocations: 1.56 MB / 3.019 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00129/7.317, allocations: 0.6013 MB / 3.02 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/7.317, allocations: 4 kB / 3.02 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/7.317, allocations: 211.9 kB / 3.02 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/7.319, allocations: 308.8 kB / 3.02 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002116/7.321, allocations: 1.097 MB / 3.021 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/7.322, allocations: 1.026 MB / 3.022 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/7.322, allocations: 0 / 3.022 GB, free: 99.17 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)