Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.004726/0.004726, allocations: 177.5 kB / 7.453 MB, free: 2.234 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7107/0.7107, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.608/1.608, allocations: 221.3 MB / 395 MB, free: 10.25 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.0011/0.0011, allocations: 100.9 kB / 477.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5123/0.5135, allocations: 88.43 MB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.6935, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.29/4.984, allocations: 1.836 GB / 2.469 GB, free: 129 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/4.984, allocations: 83.95 kB / 2.47 GB, free: 128.9 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.978/6.962, allocations: 0.6096 GB / 3.079 GB, free: 39.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/6.962, allocations: 12 kB / 3.079 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/6.964, allocations: 290.4 kB / 3.079 GB, free: 39.67 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/6.965, allocations: 0.5692 MB / 3.08 GB, free: 39.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/6.965, allocations: 27.94 kB / 3.08 GB, free: 39.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/6.965, allocations: 47.94 kB / 3.08 GB, free: 38.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008054/6.966, allocations: 0.5271 MB / 3.081 GB, free: 38.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/6.967, allocations: 0.7815 MB / 3.081 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/6.967, allocations: 4 kB / 3.081 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/6.967, allocations: 3.984 kB / 3.081 GB, free: 37.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/6.967, allocations: 41.3 kB / 3.081 GB, free: 37.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/6.97, allocations: 3.695 MB / 3.085 GB, free: 33.61 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/6.97, allocations: 187.7 kB / 3.085 GB, free: 33.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/6.97, allocations: 118.5 kB / 3.085 GB, free: 33.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006103/6.971, allocations: 0.6247 MB / 3.086 GB, free: 32.52 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/6.971, allocations: 38.56 kB / 3.086 GB, free: 32.47 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=19): time 2.475e-06/6.971, allocations: 0 / 3.086 GB, free: 32.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=19): time 0.001528/6.973, allocations: 419.5 kB / 3.086 GB, free: 32.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/6.973, allocations: 110.8 kB / 3.086 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/6.973, allocations: 345.1 kB / 3.087 GB, free: 31.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/6.973, allocations: 25.7 kB / 3.087 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/6.973, allocations: 358.9 kB / 3.087 GB, free: 31.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/6.973, allocations: 67.03 kB / 3.087 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/6.973, allocations: 0 / 3.087 GB, free: 31.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.141e-05/6.973, allocations: 358.7 kB / 3.088 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/6.973, allocations: 87.98 kB / 3.088 GB, free: 30.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/6.974, allocations: 202.5 kB / 3.088 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/6.974, allocations: 151.8 kB / 3.088 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/6.974, allocations: 4 kB / 3.088 GB, free: 30.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005639/6.975, allocations: 355.6 kB / 3.088 GB, free: 29.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/6.975, allocations: 4 kB / 3.088 GB, free: 29.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/6.975, allocations: 7.953 kB / 3.088 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/6.975, allocations: 7.984 kB / 3.088 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/6.975, allocations: 72.25 kB / 3.088 GB, free: 29.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/6.975, allocations: 11.92 kB / 3.088 GB, free: 29.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/6.975, allocations: 51.72 kB / 3.088 GB, free: 29.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/6.975, allocations: 15.98 kB / 3.088 GB, free: 29.76 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.952e-05/6.976, allocations: 116.9 kB / 3.089 GB, free: 29.64 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/6.976, allocations: 47.44 kB / 3.089 GB, free: 29.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004681/6.976, allocations: 257.1 kB / 3.089 GB, free: 29.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/6.976, allocations: 4 kB / 3.089 GB, free: 29.33 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/6.976, allocations: 0 / 3.089 GB, free: 29.33 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/6.976, allocations: 8 kB / 3.089 GB, free: 29.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/6.978, allocations: 1.193 MB / 3.09 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/6.978, allocations: 4.562 kB / 3.09 GB, free: 28.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/6.978, allocations: 47.86 kB / 3.09 GB, free: 27.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/6.978, allocations: 8 kB / 3.09 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/6.978, allocations: 7.984 kB / 3.09 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/6.978, allocations: 4 kB / 3.09 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/6.978, allocations: 7.938 kB / 3.09 GB, free: 27.96 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000544/6.979, allocations: 0.6262 MB / 3.091 GB, free: 27.18 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009556/6.98, allocations: 1.104 MB / 3.092 GB, free: 25.92 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/6.98, allocations: 148.5 kB / 3.092 GB, free: 25.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-05/6.98, allocations: 8 kB / 3.092 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/6.98, allocations: 31.97 kB / 3.092 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/6.98, allocations: 23.89 kB / 3.092 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/6.98, allocations: 8 kB / 3.092 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002264/6.98, allocations: 267.2 kB / 3.092 GB, free: 25.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002026/6.982, allocations: 0.5773 MB / 3.093 GB, free: 24.85 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002748/6.985, allocations: 2.214 MB / 3.095 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000417/6.986, allocations: 207.7 kB / 3.095 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/6.986, allocations: 0 / 3.095 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/6.986, allocations: 103.8 kB / 3.095 GB, free: 22.22 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/6.987, allocations: 175.4 kB / 3.095 GB, free: 22.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/6.988, allocations: 0.8472 MB / 3.096 GB, free: 21.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/6.989, allocations: 1.05 MB / 3.097 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/6.989, allocations: 3.938 kB / 3.097 GB, free: 20.06 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)