Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Density,fileNamePrefix="IDEAS_dev_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.003475/0.003475, allocations: 181.2 kB / 7.459 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7286/0.7286, 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.479/1.479, 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.001076/0.001076, allocations: 94.34 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4592/0.4603, allocations: 88.43 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.6881, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.371/5.059, allocations: 1.888 GB / 2.521 GB, free: 57.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/5.059, allocations: 91.3 kB / 2.521 GB, free: 57.51 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.853/6.912, allocations: 490.7 MB / 3 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/6.912, allocations: 8 kB / 3 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/6.914, allocations: 298.6 kB / 3.001 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/6.916, allocations: 0.6392 MB / 3.001 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/6.916, allocations: 16 kB / 3.001 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/6.916, allocations: 32 kB / 3.001 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008408/6.917, allocations: 0.4945 MB / 3.002 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/6.917, allocations: 0.5557 MB / 3.002 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/6.917, allocations: 0 / 3.002 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/6.918, allocations: 3.938 kB / 3.002 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/6.918, allocations: 17.31 kB / 3.002 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/6.921, allocations: 2.476 MB / 3.005 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/6.921, allocations: 387.1 kB / 3.005 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/6.921, allocations: 233.8 kB / 3.005 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/6.922, allocations: 480.2 kB / 3.006 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/6.922, allocations: 34.56 kB / 3.006 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 1.804e-06/6.922, allocations: 0 / 3.006 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001252/6.923, allocations: 482.6 kB / 3.006 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/6.923, allocations: 59.34 kB / 3.006 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/6.924, allocations: 369.2 kB / 3.007 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/6.924, allocations: 29.7 kB / 3.007 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/6.924, allocations: 240.4 kB / 3.007 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/6.924, allocations: 141.9 kB / 3.007 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/6.924, allocations: 0 / 3.007 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001173/6.924, allocations: 366.8 kB / 3.007 GB, free: 101.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/6.924, allocations: 140.8 kB / 3.007 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/6.924, allocations: 265.1 kB / 3.008 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/6.925, allocations: 216.4 kB / 3.008 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/6.925, allocations: 0 / 3.008 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006878/6.926, allocations: 487.5 kB / 3.008 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/6.926, allocations: 0.877 MB / 3.009 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/6.926, allocations: 4 kB / 3.009 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/6.926, allocations: 4 kB / 3.009 GB, free: 99.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/6.926, allocations: 111.9 kB / 3.009 GB, free: 99.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/6.927, allocations: 0.6093 MB / 3.01 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/6.927, allocations: 67.67 kB / 3.01 GB, free: 99.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/6.928, allocations: 16 kB / 3.01 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/6.928, allocations: 6.5 kB / 3.01 GB, free: 99.01 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006201/6.928, allocations: 407.8 kB / 3.01 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/6.928, allocations: 4 kB / 3.01 GB, free: 98.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/6.928, allocations: 8 kB / 3.01 GB, free: 98.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000408/6.929, allocations: 100.2 kB / 3.011 GB, free: 98.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/6.929, allocations: 11.94 kB / 3.011 GB, free: 98.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/6.929, allocations: 59.61 kB / 3.011 GB, free: 98.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/6.929, allocations: 23.98 kB / 3.011 GB, free: 98.41 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.0001205/6.929, allocations: 113.2 kB / 3.011 GB, free: 98.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/6.929, allocations: 55.34 kB / 3.011 GB, free: 98.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007775/6.93, allocations: 461.9 kB / 3.011 GB, free: 97.78 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/6.93, allocations: 12 kB / 3.011 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.93, allocations: 3.938 kB / 3.011 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006274/6.931, allocations: 0.6834 MB / 3.012 GB, free: 96.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/6.932, allocations: 1.189 MB / 3.013 GB, free: 95.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/6.932, allocations: 11.88 kB / 3.013 GB, free: 95.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/6.933, allocations: 115.9 kB / 3.013 GB, free: 95.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/6.933, allocations: 4.281 kB / 3.013 GB, free: 95.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/6.933, allocations: 15.91 kB / 3.013 GB, free: 95.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002386/6.933, allocations: 0.5861 MB / 3.014 GB, free: 94.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/6.933, allocations: 7.938 kB / 3.014 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009407/6.934, allocations: 0.9092 MB / 3.015 GB, free: 93.96 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001661/6.936, allocations: 1.581 MB / 3.016 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/6.936, allocations: 184.3 kB / 3.016 GB, free: 92.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/6.936, allocations: 4 kB / 3.016 GB, free: 92.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004922/6.937, allocations: 43.86 kB / 3.016 GB, free: 92.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/6.937, allocations: 27.91 kB / 3.016 GB, free: 92.01 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/6.937, allocations: 19.98 kB / 3.017 GB, free: 91.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002741/6.937, allocations: 283 kB / 3.017 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002986/6.94, allocations: 0.7615 MB / 3.018 GB, free: 90.95 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.002176/6.942, allocations: 1.555 MB / 3.019 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001106/6.944, allocations: 0.6081 MB / 3.02 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/6.944, allocations: 0 / 3.02 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003007/6.944, allocations: 213.1 kB / 3.02 GB, free: 88.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/6.945, allocations: 307 kB / 3.02 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/6.947, allocations: 1.107 MB / 3.021 GB, free: 87.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/6.948, allocations: 1.026 MB / 3.022 GB, free: 86.19 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/6.948, allocations: 0 / 3.022 GB, free: 86.19 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Density.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)