Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_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.003059/0.003059, allocations: 180.9 kB / 7.457 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.7626/0.7626, allocations: 133.5 MB / 141.4 MB, free: 15.76 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.836/1.836, allocations: 221.3 MB / 395 MB, free: 10.24 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.001356/0.001356, allocations: 97.89 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4946/0.4961, allocations: 88.43 MB / 0.5529 GB, free: 88.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.7104, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.64/5.35, allocations: 1.94 GB / 2.573 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/5.35, allocations: 99.31 kB / 2.573 GB, free: 20.04 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.802/8.152, allocations: 0.6381 GB / 3.212 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/8.153, allocations: 10.44 kB / 3.212 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/8.155, allocations: 336.4 kB / 3.212 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/8.158, allocations: 1.21 MB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/8.158, allocations: 39.41 kB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/8.158, allocations: 69.44 kB / 3.213 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00167/8.16, allocations: 0.862 MB / 3.214 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/8.162, allocations: 1.019 MB / 3.215 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/8.162, allocations: 3.562 kB / 3.215 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-05/8.162, allocations: 3.875 kB / 3.215 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/8.162, allocations: 38.97 kB / 3.215 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00621/8.168, allocations: 4.706 MB / 3.22 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/8.169, allocations: 0.6478 MB / 3.22 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/8.17, allocations: 360.9 kB / 3.221 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/8.17, allocations: 399.6 kB / 3.221 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/8.17, allocations: 45.09 kB / 3.221 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.417e-06/8.17, allocations: 0 / 3.221 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.00203/8.172, allocations: 0.7902 MB / 3.222 GB, free: 112 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/8.172, allocations: 114.5 kB / 3.222 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/8.173, allocations: 0.5648 MB / 3.222 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/8.173, allocations: 29.64 kB / 3.222 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/8.174, allocations: 424.5 kB / 3.223 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000254/8.174, allocations: 233.6 kB / 3.223 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/8.174, allocations: 0 / 3.223 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/8.174, allocations: 335.6 kB / 3.223 GB, free: 111 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/8.174, allocations: 254 kB / 3.224 GB, free: 111 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/8.175, allocations: 496.4 kB / 3.224 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/8.176, allocations: 433.6 kB / 3.225 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/8.176, allocations: 0 / 3.225 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001487/8.177, allocations: 0.8922 MB / 3.225 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003804/8.178, allocations: 1.746 MB / 3.227 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/8.178, allocations: 3.938 kB / 3.227 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/8.178, allocations: 15.62 kB / 3.227 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/8.178, allocations: 178.3 kB / 3.227 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000339/8.179, allocations: 0.6048 MB / 3.228 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/8.18, allocations: 114.4 kB / 3.228 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/8.18, allocations: 39.83 kB / 3.228 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/8.18, allocations: 3.375 kB / 3.228 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001298/8.181, allocations: 0.7634 MB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/8.181, allocations: 6.719 kB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/8.181, allocations: 7.625 kB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/8.182, allocations: 170.8 kB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/8.182, allocations: 11.81 kB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/8.183, allocations: 106.9 kB / 3.229 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/8.183, allocations: 33.52 kB / 3.229 GB, free: 108.2 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.0002106/8.183, allocations: 125.9 kB / 3.229 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/8.183, allocations: 95.75 kB / 3.229 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/8.185, allocations: 0.8002 MB / 3.23 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/8.185, allocations: 8.812 kB / 3.23 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/8.185, allocations: 0 / 3.23 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/8.186, allocations: 0.9035 MB / 3.231 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/8.19, allocations: 1.997 MB / 3.233 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/8.19, allocations: 7.438 kB / 3.233 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/8.19, allocations: 164.2 kB / 3.233 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/8.19, allocations: 3.938 kB / 3.233 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/8.19, allocations: 7.781 kB / 3.233 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002641/8.191, allocations: 0.6023 MB / 3.234 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/8.191, allocations: 7.25 kB / 3.234 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001801/8.193, allocations: 1.402 MB / 3.235 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002792/8.195, allocations: 2.274 MB / 3.237 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006213/8.196, allocations: 249.2 kB / 3.238 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/8.196, allocations: 3.656 kB / 3.238 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007365/8.197, allocations: 71.47 kB / 3.238 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/8.197, allocations: 42.33 kB / 3.238 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/8.197, allocations: 18.53 kB / 3.238 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006493/8.198, allocations: 440.9 kB / 3.238 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004246/8.202, allocations: 1.147 MB / 3.239 GB, free: 105 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.003654/8.206, allocations: 2.092 MB / 3.241 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002681/8.208, allocations: 1.075 MB / 3.242 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/8.208, allocations: 0 / 3.242 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006192/8.209, allocations: 337.6 kB / 3.243 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/8.211, allocations: 403.4 kB / 3.243 GB, free: 104.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/8.215, allocations: 1.762 MB / 3.245 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/8.216, allocations: 1.303 MB / 3.246 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/8.216, allocations: 0 / 3.246 GB, free: 103.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)