Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.25/2.25, allocations: 284.8 MB / 292.1 MB, free: 10.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001732, allocations: 177.3 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001351/0.00135, allocations: 92.41 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2931/0.2945, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.9614, allocations: 115.2 MB / 0.9627 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.147/6.109, allocations: 2.064 GB / 3.027 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/6.109, allocations: 81.59 kB / 3.027 GB, free: 274.2 MB / 0.9323 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.811/7.921, allocations: 411.9 MB / 3.429 GB, free: 233.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/7.921, allocations: 8.062 kB / 3.429 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002654/7.921, allocations: 70.59 kB / 3.429 GB, free: 233.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/7.922, allocations: 426.5 kB / 3.43 GB, free: 233.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/7.922, allocations: 18.59 kB / 3.43 GB, free: 233.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.13e-05/7.922, allocations: 30.31 kB / 3.43 GB, free: 233.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009276/7.923, allocations: 287.9 kB / 3.43 GB, free: 233.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/7.924, allocations: 0.6015 MB / 3.431 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/7.924, allocations: 3.562 kB / 3.431 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/7.924, allocations: 3.812 kB / 3.431 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/7.925, allocations: 34.11 kB / 3.431 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/7.928, allocations: 2.988 MB / 3.434 GB, free: 230.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/7.928, allocations: 199.4 kB / 3.434 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/7.929, allocations: 113.8 kB / 3.434 GB, free: 230.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/7.929, allocations: 10.44 kB / 3.434 GB, free: 230.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/7.929, allocations: 40.31 kB / 3.434 GB, free: 230.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 5.1e-06/7.929, allocations: 0 / 3.434 GB, free: 230.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0006331/7.929, allocations: 141.5 kB / 3.434 GB, free: 230.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/7.93, allocations: 292.9 kB / 3.434 GB, free: 230.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/7.93, allocations: 218.7 kB / 3.434 GB, free: 230 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/7.93, allocations: 33.2 kB / 3.435 GB, free: 229.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/7.93, allocations: 257.8 kB / 3.435 GB, free: 229.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/7.93, allocations: 41.25 kB / 3.435 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/7.93, allocations: 0 / 3.435 GB, free: 229.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/7.93, allocations: 332.8 kB / 3.435 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/7.93, allocations: 23.81 kB / 3.435 GB, free: 229.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/7.93, allocations: 101.3 kB / 3.435 GB, free: 229.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/7.931, allocations: 33.47 kB / 3.435 GB, free: 229.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/7.931, allocations: 2.938 kB / 3.435 GB, free: 229.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/7.931, allocations: 127.5 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/7.931, allocations: 3.969 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/7.931, allocations: 3.5 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/7.931, allocations: 6.969 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/7.931, allocations: 25.61 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/7.931, allocations: 2.266 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/7.932, allocations: 29.08 kB / 3.435 GB, free: 229.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/7.932, allocations: 13.91 kB / 3.435 GB, free: 229.3 MB / 0.948 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 0.0001076/7.932, allocations: 116.2 kB / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/7.932, allocations: 30.17 kB / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/7.932, allocations: 30.38 kB / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/7.932, allocations: 3.812 kB / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/7.932, allocations: 6.719 kB / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/7.932, allocations: 0 / 3.436 GB, free: 229.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/7.934, allocations: 1.225 MB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/7.934, allocations: 6.609 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/7.934, allocations: 27.16 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/7.934, allocations: 3.625 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/7.935, allocations: 3.75 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/7.935, allocations: 12.19 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/7.935, allocations: 3.906 kB / 3.437 GB, free: 228.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003924/7.935, allocations: 381.1 kB / 3.437 GB, free: 227.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007407/7.936, allocations: 0.8194 MB / 3.438 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/7.936, allocations: 106.3 kB / 3.438 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/7.936, allocations: 11.27 kB / 3.438 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/7.936, allocations: 17.5 kB / 3.438 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/7.936, allocations: 19.86 kB / 3.438 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/7.936, allocations: 3.5 kB / 3.438 GB, free: 227.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002959/7.937, allocations: 180 kB / 3.438 GB, free: 227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002547/7.939, allocations: 383.9 kB / 3.439 GB, free: 227 MB / 0.948 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.003025/7.942, allocations: 1.638 MB / 3.44 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003488/7.943, allocations: 81.19 kB / 3.44 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/7.943, allocations: 0 / 3.44 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/7.943, allocations: 43.12 kB / 3.44 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/7.944, allocations: 91.72 kB / 3.441 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/7.946, allocations: 0.5845 MB / 3.441 GB, free: 226.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005609/7.946, allocations: 0.9389 MB / 3.442 GB, free: 225.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/7.946, allocations: 0 / 3.442 GB, free: 225.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)