Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_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.004695/0.004695, allocations: 186.7 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7282/0.7282, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.898/1.898, allocations: 221.3 MB / 395 MB, free: 10.04 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.001104/0.001104, allocations: 99.41 kB / 477.8 MB, free: 10.6 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5499/0.5511, allocations: 88.42 MB / 0.5529 GB, free: 89.36 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.7421, allocations: 82.31 MB / 0.6333 GB, free: 13.78 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.303/5.045, allocations: 1.891 GB / 2.524 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/5.045, allocations: 87.95 kB / 2.525 GB, free: 69.27 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.907/6.953, allocations: 488.5 MB / 3.002 GB, free: 122 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/6.953, allocations: 8 kB / 3.002 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/6.954, allocations: 214.9 kB / 3.002 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/6.957, allocations: 0.9198 MB / 3.003 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/6.957, allocations: 16 kB / 3.003 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/6.957, allocations: 43.98 kB / 3.003 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007523/6.958, allocations: 446.5 kB / 3.003 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/6.958, allocations: 0.5205 MB / 3.004 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/6.958, allocations: 0 / 3.004 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/6.958, allocations: 0 / 3.004 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/6.959, allocations: 17.31 kB / 3.004 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/6.961, allocations: 2.354 MB / 3.006 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/6.962, allocations: 325.5 kB / 3.006 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/6.962, allocations: 196.8 kB / 3.006 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005099/6.963, allocations: 314.7 kB / 3.007 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/6.963, allocations: 42.55 kB / 3.007 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.973e-06/6.963, allocations: 0 / 3.007 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001217/6.964, allocations: 449 kB / 3.007 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/6.964, allocations: 55.41 kB / 3.007 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000451/6.964, allocations: 369.2 kB / 3.008 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/6.965, allocations: 25.7 kB / 3.008 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/6.965, allocations: 260.3 kB / 3.008 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/6.965, allocations: 122.1 kB / 3.008 GB, free: 115 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/6.965, allocations: 0 / 3.008 GB, free: 115 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.965, allocations: 362.8 kB / 3.008 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/6.965, allocations: 132.8 kB / 3.009 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/6.965, allocations: 271.2 kB / 3.009 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/6.966, allocations: 213.4 kB / 3.009 GB, free: 114 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/6.966, allocations: 0 / 3.009 GB, free: 114 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006807/6.966, allocations: 478.5 kB / 3.009 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002251/6.967, allocations: 0.877 MB / 3.01 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/6.967, allocations: 0 / 3.01 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/6.967, allocations: 8 kB / 3.01 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/6.967, allocations: 91.83 kB / 3.01 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003238/6.968, allocations: 0.6017 MB / 3.011 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/6.968, allocations: 55.66 kB / 3.011 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/6.968, allocations: 23.98 kB / 3.011 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/6.968, allocations: 0 / 3.011 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006019/6.969, allocations: 387.5 kB / 3.011 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/6.969, allocations: 4 kB / 3.011 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/6.969, allocations: 4 kB / 3.011 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/6.969, allocations: 92.11 kB / 3.012 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/6.969, allocations: 8 kB / 3.012 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/6.97, allocations: 50.78 kB / 3.012 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/6.97, allocations: 24 kB / 3.012 GB, free: 111.2 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.0001413/6.97, allocations: 120.9 kB / 3.012 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/6.97, allocations: 47.44 kB / 3.012 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/6.971, allocations: 446.8 kB / 3.012 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/6.971, allocations: 4 kB / 3.012 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.971, allocations: 0 / 3.012 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005092/6.972, allocations: 0.6402 MB / 3.013 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/6.973, allocations: 1.129 MB / 3.014 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/6.973, allocations: 4.219 kB / 3.014 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/6.974, allocations: 99.88 kB / 3.014 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.345e-06/6.974, allocations: 4 kB / 3.014 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/6.974, allocations: 4 kB / 3.014 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002328/6.974, allocations: 0.5976 MB / 3.015 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.974, allocations: 3.938 kB / 3.015 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008105/6.975, allocations: 0.8297 MB / 3.015 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001387/6.976, allocations: 1.47 MB / 3.017 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/6.977, allocations: 176.3 kB / 3.017 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/6.977, allocations: 4 kB / 3.017 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/6.977, allocations: 35.88 kB / 3.017 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/6.977, allocations: 19.97 kB / 3.017 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/6.977, allocations: 16 kB / 3.017 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003461/6.978, allocations: 286.9 kB / 3.017 GB, free: 105 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003075/6.981, allocations: 0.7606 MB / 3.018 GB, free: 104.2 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.002032/6.983, allocations: 1.557 MB / 3.02 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001272/6.984, allocations: 0.565 MB / 3.02 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/6.984, allocations: 8 kB / 3.02 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/6.984, allocations: 176.9 kB / 3.02 GB, free: 102 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/6.986, allocations: 297.9 kB / 3.021 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/6.988, allocations: 1.058 MB / 3.022 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/6.988, allocations: 1.025 MB / 3.023 GB, free: 99.59 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/6.988, allocations: 0 / 3.023 GB, free: 99.59 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)