Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_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.003909/0.003909, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7128/0.7128, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.663/1.663, 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.00133/0.00133, allocations: 103 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5061/0.5075, allocations: 88.43 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.7152, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.332/5.047, allocations: 1.832 GB / 2.466 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/5.047, allocations: 87.95 kB / 2.466 GB, free: 131.1 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.723/6.77, allocations: 415.5 MB / 2.871 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/6.77, allocations: 10.75 kB / 2.871 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/6.77, allocations: 72.53 kB / 2.872 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/6.771, allocations: 418.6 kB / 2.872 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/6.771, allocations: 18.88 kB / 2.872 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/6.771, allocations: 30.31 kB / 2.872 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005589/6.772, allocations: 287.9 kB / 2.872 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/6.773, allocations: 0.6033 MB / 2.873 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/6.773, allocations: 5.031 kB / 2.873 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/6.773, allocations: 5.062 kB / 2.873 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/6.773, allocations: 33.72 kB / 2.873 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/6.775, allocations: 2.984 MB / 2.876 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/6.775, allocations: 208.5 kB / 2.876 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/6.775, allocations: 117.5 kB / 2.876 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/6.775, allocations: 12.34 kB / 2.876 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/6.775, allocations: 45.17 kB / 2.876 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.494e-06/6.775, allocations: 0 / 2.876 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004219/6.776, allocations: 132.5 kB / 2.876 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/6.776, allocations: 293.9 kB / 2.877 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/6.776, allocations: 223.1 kB / 2.877 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/6.776, allocations: 29.52 kB / 2.877 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/6.776, allocations: 249.8 kB / 2.877 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/6.776, allocations: 46.08 kB / 2.877 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/6.776, allocations: 0 / 2.877 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/6.776, allocations: 336 kB / 2.877 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/6.776, allocations: 20.47 kB / 2.877 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-05/6.776, allocations: 104 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.652e-05/6.776, allocations: 33.45 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/6.776, allocations: 2.688 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/6.777, allocations: 128.1 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/6.777, allocations: 3.562 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/6.777, allocations: 3.75 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/6.777, allocations: 3.219 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/6.777, allocations: 28.03 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/6.777, allocations: 3.812 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/6.777, allocations: 23.72 kB / 2.878 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/6.777, allocations: 10.5 kB / 2.878 GB, free: 145.2 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 7.173e-05/6.777, allocations: 116.8 kB / 2.878 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/6.777, allocations: 29.22 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/6.777, allocations: 29.75 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/6.777, allocations: 3.406 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/6.777, allocations: 5.688 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/6.777, allocations: 3.906 kB / 2.878 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/6.778, allocations: 1.224 MB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/6.778, allocations: 3.812 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/6.779, allocations: 26.97 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/6.779, allocations: 2.625 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/6.779, allocations: 5.438 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/6.779, allocations: 10.22 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/6.779, allocations: 6.5 kB / 2.879 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002718/6.779, allocations: 377.7 kB / 2.88 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006619/6.78, allocations: 0.812 MB / 2.88 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/6.78, allocations: 111.2 kB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/6.78, allocations: 5.75 kB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/6.78, allocations: 22.47 kB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.63e-05/6.78, allocations: 12.67 kB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/6.78, allocations: 7.812 kB / 2.88 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001363/6.78, allocations: 181.1 kB / 2.881 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001667/6.782, allocations: 391.2 kB / 2.881 GB, free: 142.8 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.001983/6.784, allocations: 1.652 MB / 2.883 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001755/6.784, allocations: 70.92 kB / 2.883 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/6.784, allocations: 3.172 kB / 2.883 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/6.784, allocations: 47.88 kB / 2.883 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/6.785, allocations: 98.11 kB / 2.883 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/6.786, allocations: 0.5857 MB / 2.883 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/6.787, allocations: 0.9377 MB / 2.884 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of SimCode: time 4.4e-07/6.787, allocations: 0 / 2.884 GB, free: 141.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)