Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.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_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.004165/0.004165, allocations: 183.5 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.7375/0.7375, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.647/1.647, allocations: 221.3 MB / 395 MB, free: 10.13 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.001037/0.001037, allocations: 99.34 kB / 477.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4954/0.4965, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.6783, allocations: 82.3 MB / 0.6333 GB, free: 13.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.347/5.026, allocations: 1.832 GB / 2.466 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.026, allocations: 83.7 kB / 2.466 GB, free: 114.7 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.573/6.599, allocations: 415.5 MB / 2.871 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/6.599, allocations: 10.16 kB / 2.871 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/6.599, allocations: 72.09 kB / 2.872 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/6.6, allocations: 421.2 kB / 2.872 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/6.6, allocations: 16.38 kB / 2.872 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/6.6, allocations: 37.19 kB / 2.872 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004435/6.6, allocations: 290.5 kB / 2.872 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/6.601, allocations: 0.5964 MB / 2.873 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/6.601, allocations: 2.25 kB / 2.873 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/6.601, allocations: 5.156 kB / 2.873 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/6.601, allocations: 34 kB / 2.873 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/6.603, allocations: 2.995 MB / 2.876 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/6.603, allocations: 200.5 kB / 2.876 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/6.603, allocations: 110.3 kB / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/6.603, allocations: 14.03 kB / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/6.603, allocations: 42.5 kB / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/6.603, allocations: 0 / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0003989/6.603, allocations: 136.8 kB / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/6.603, allocations: 291.5 kB / 2.877 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/6.604, allocations: 221.7 kB / 2.877 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/6.604, allocations: 29.08 kB / 2.877 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/6.604, allocations: 253.7 kB / 2.877 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/6.604, allocations: 33.14 kB / 2.877 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/6.604, allocations: 0 / 2.877 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.84e-05/6.604, allocations: 342.6 kB / 2.877 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/6.604, allocations: 27 kB / 2.877 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/6.604, allocations: 95.7 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.861e-05/6.604, allocations: 42.44 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/6.604, allocations: 0 / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001466/6.604, allocations: 129.2 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/6.604, allocations: 9.5 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/6.604, allocations: 2.906 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/6.604, allocations: 0 / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/6.604, allocations: 26.83 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/6.604, allocations: 6.125 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/6.605, allocations: 28.23 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/6.605, allocations: 17.64 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.941e-05/6.605, allocations: 107.8 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/6.605, allocations: 27.38 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.221e-05/6.605, allocations: 27 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/6.605, allocations: 3.5 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/6.605, allocations: 2 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/6.605, allocations: 6.75 kB / 2.878 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/6.606, allocations: 1.225 MB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/6.606, allocations: 3.125 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/6.606, allocations: 25.52 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/6.606, allocations: 5.562 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/6.606, allocations: 5.156 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/6.606, allocations: 11 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.606, allocations: 3 kB / 2.879 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002184/6.606, allocations: 376.8 kB / 2.88 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004808/6.607, allocations: 0.8145 MB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/6.607, allocations: 110.4 kB / 2.88 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/6.607, allocations: 6.406 kB / 2.88 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/6.607, allocations: 26.97 kB / 2.88 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/6.607, allocations: 12.58 kB / 2.88 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/6.607, allocations: 8.156 kB / 2.881 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001171/6.607, allocations: 179.7 kB / 2.881 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001473/6.609, allocations: 401.2 kB / 2.881 GB, free: 142.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.001887/6.611, allocations: 1.639 MB / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001631/6.611, allocations: 74.55 kB / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/6.611, allocations: 0 / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/6.611, allocations: 44.17 kB / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/6.611, allocations: 91.98 kB / 2.883 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/6.612, allocations: 0.5901 MB / 2.883 GB, free: 142 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/6.613, allocations: 0.9336 MB / 2.884 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.173e-06/6.613, allocations: 0.7812 kB / 2.884 GB, free: 141.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)