Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.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.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",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.003752/0.003752, allocations: 179.1 kB / 7.457 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7298/0.7298, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.577/1.577, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009278/0.0009278, allocations: 97.45 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.437/0.438, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.6106, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.186/4.796, allocations: 1.891 GB / 2.524 GB, free: 79.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/4.797, allocations: 83.95 kB / 2.525 GB, free: 78.94 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 1.835/6.632, allocations: 488.5 MB / 3.002 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/6.632, allocations: 8 kB / 3.002 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/6.633, allocations: 217 kB / 3.002 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/6.635, allocations: 0.9099 MB / 3.003 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/6.635, allocations: 16 kB / 3.003 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/6.635, allocations: 35.94 kB / 3.003 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000698/6.636, allocations: 446.5 kB / 3.003 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/6.637, allocations: 0.5275 MB / 3.004 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/6.637, allocations: 3.938 kB / 3.004 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/6.637, allocations: 4 kB / 3.004 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/6.637, allocations: 17.31 kB / 3.004 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/6.639, allocations: 2.365 MB / 3.006 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/6.64, allocations: 325.5 kB / 3.006 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/6.64, allocations: 200.8 kB / 3.006 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/6.641, allocations: 309.8 kB / 3.007 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/6.641, allocations: 42.55 kB / 3.007 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.846e-06/6.641, allocations: 0 / 3.007 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001041/6.642, allocations: 441.1 kB / 3.007 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/6.642, allocations: 59.39 kB / 3.007 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/6.642, allocations: 353.3 kB / 3.008 GB, free: 125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/6.642, allocations: 29.7 kB / 3.008 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/6.642, allocations: 256.3 kB / 3.008 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.461e-05/6.642, allocations: 126.1 kB / 3.008 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/6.642, allocations: 3.938 kB / 3.008 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/6.643, allocations: 358.8 kB / 3.008 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/6.643, allocations: 140.8 kB / 3.009 GB, free: 124 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/6.643, allocations: 263.2 kB / 3.009 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/6.643, allocations: 209.4 kB / 3.009 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.643, allocations: 4 kB / 3.009 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006508/6.644, allocations: 486.4 kB / 3.009 GB, free: 123 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/6.644, allocations: 0.8763 MB / 3.01 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/6.644, allocations: 4 kB / 3.01 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/6.644, allocations: 4 kB / 3.01 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/6.645, allocations: 99.89 kB / 3.01 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003364/6.645, allocations: 0.6055 MB / 3.011 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/6.646, allocations: 55.66 kB / 3.011 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/6.646, allocations: 23.98 kB / 3.011 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/6.646, allocations: 4 kB / 3.011 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005625/6.646, allocations: 387.5 kB / 3.011 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/6.646, allocations: 288 / 3.011 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.72e-06/6.646, allocations: 15.8 kB / 3.011 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/6.647, allocations: 83.91 kB / 3.012 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/6.647, allocations: 11.92 kB / 3.012 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/6.647, allocations: 47.72 kB / 3.012 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/6.647, allocations: 16 kB / 3.012 GB, free: 120.7 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 (49): * Single equations (assignments): 48 * 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.000103/6.647, allocations: 116.8 kB / 3.012 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/6.647, allocations: 51.44 kB / 3.012 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/6.648, allocations: 438.8 kB / 3.012 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/6.648, allocations: 4 kB / 3.012 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/6.648, allocations: 4 kB / 3.012 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004928/6.649, allocations: 0.6518 MB / 3.013 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/6.65, allocations: 1.122 MB / 3.014 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/6.65, allocations: 0 / 3.014 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004773/6.65, allocations: 99.89 kB / 3.014 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/6.65, allocations: 0 / 3.014 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/6.651, allocations: 11.98 kB / 3.014 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002055/6.651, allocations: 0.5977 MB / 3.015 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.651, allocations: 4.031 kB / 3.015 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007557/6.652, allocations: 0.8141 MB / 3.015 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001237/6.653, allocations: 1.478 MB / 3.017 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/6.653, allocations: 168.3 kB / 3.017 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/6.653, allocations: 4 kB / 3.017 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/6.653, allocations: 47.73 kB / 3.017 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/6.654, allocations: 31.91 kB / 3.017 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/6.654, allocations: 8 kB / 3.017 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002488/6.654, allocations: 290.9 kB / 3.017 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002769/6.657, allocations: 0.749 MB / 3.018 GB, free: 113.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.001835/6.658, allocations: 1.563 MB / 3.02 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001037/6.659, allocations: 0.5689 MB / 3.02 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/6.66, allocations: 1.125 kB / 3.02 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002553/6.66, allocations: 184.2 kB / 3.02 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/6.661, allocations: 290.9 kB / 3.021 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/6.663, allocations: 1.058 MB / 3.022 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/6.664, allocations: 1.013 MB / 3.023 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of SimCode: time 4.61e-07/6.664, allocations: 0 / 3.023 GB, free: 109.2 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)