Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",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.004398/0.004398, allocations: 179 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7163/0.7163, 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.572/1.572, 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.0009871/0.0009872, allocations: 96.28 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4897/0.4907, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.684, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/5.156, allocations: 1.94 GB / 2.573 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/5.156, allocations: 95.28 kB / 2.573 GB, free: 19.87 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.65/7.805, allocations: 0.6381 GB / 3.212 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/7.805, allocations: 11.12 kB / 3.212 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/7.808, allocations: 335.3 kB / 3.212 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/7.811, allocations: 1.216 MB / 3.213 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/7.811, allocations: 32.78 kB / 3.213 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/7.811, allocations: 66.84 kB / 3.213 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001574/7.813, allocations: 0.8636 MB / 3.214 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/7.814, allocations: 1.02 MB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/7.814, allocations: 7.781 kB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/7.814, allocations: 3.797 kB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/7.815, allocations: 35.88 kB / 3.215 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005423/7.82, allocations: 4.71 MB / 3.22 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/7.821, allocations: 0.6484 MB / 3.22 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/7.821, allocations: 360.1 kB / 3.221 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005742/7.822, allocations: 397.5 kB / 3.221 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/7.822, allocations: 44.5 kB / 3.221 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.777e-06/7.822, allocations: 2.625 kB / 3.221 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001872/7.824, allocations: 0.7904 MB / 3.222 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/7.824, allocations: 109.8 kB / 3.222 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/7.825, allocations: 0.5701 MB / 3.222 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/7.825, allocations: 28.14 kB / 3.222 GB, free: 114 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/7.825, allocations: 417.6 kB / 3.223 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/7.825, allocations: 244.1 kB / 3.223 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/7.825, allocations: 0 / 3.223 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.126e-05/7.825, allocations: 338.8 kB / 3.223 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/7.826, allocations: 253.8 kB / 3.224 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/7.826, allocations: 492.2 kB / 3.224 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/7.827, allocations: 433.8 kB / 3.225 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/7.827, allocations: 0 / 3.225 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001365/7.828, allocations: 0.8856 MB / 3.225 GB, free: 113 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/7.829, allocations: 1.754 MB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/7.829, allocations: 3.75 kB / 3.227 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/7.829, allocations: 11.41 kB / 3.227 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/7.83, allocations: 181.1 kB / 3.227 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003179/7.83, allocations: 0.6028 MB / 3.228 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/7.831, allocations: 116.7 kB / 3.228 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/7.831, allocations: 35.09 kB / 3.228 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/7.831, allocations: 7.125 kB / 3.228 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/7.832, allocations: 0.7607 MB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/7.832, allocations: 3.25 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/7.832, allocations: 10.31 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/7.833, allocations: 171.6 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/7.833, allocations: 11.22 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/7.834, allocations: 100.5 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/7.834, allocations: 38.23 kB / 3.229 GB, free: 110.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0002291/7.834, allocations: 127.7 kB / 3.229 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/7.835, allocations: 93.81 kB / 3.229 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/7.836, allocations: 0.7961 MB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/7.836, allocations: 9.594 kB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/7.836, allocations: 3.375 kB / 3.23 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/7.837, allocations: 0.9028 MB / 3.231 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/7.841, allocations: 1.998 MB / 3.233 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/7.841, allocations: 2.781 kB / 3.233 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/7.842, allocations: 156.1 kB / 3.233 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/7.842, allocations: 6.531 kB / 3.233 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/7.842, allocations: 16.47 kB / 3.233 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002375/7.842, allocations: 0.597 MB / 3.234 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/7.842, allocations: 7.906 kB / 3.234 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001779/7.844, allocations: 1.408 MB / 3.235 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002771/7.846, allocations: 2.271 MB / 3.237 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/7.847, allocations: 256.2 kB / 3.238 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/7.847, allocations: 7.672 kB / 3.238 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/7.848, allocations: 61.81 kB / 3.238 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/7.848, allocations: 44.89 kB / 3.238 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/7.848, allocations: 23.12 kB / 3.238 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005977/7.849, allocations: 440.4 kB / 3.238 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00399/7.853, allocations: 1.141 MB / 3.239 GB, free: 107.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * 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.002769/7.855, allocations: 2.089 MB / 3.241 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002053/7.857, allocations: 1.074 MB / 3.242 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.858, allocations: 5.938 kB / 3.242 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/7.858, allocations: 332.6 kB / 3.243 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/7.86, allocations: 413.8 kB / 3.243 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/7.864, allocations: 1.77 MB / 3.245 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/7.865, allocations: 1.303 MB / 3.246 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/7.865, allocations: 4.812 kB / 3.246 GB, free: 105.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)