Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 189.2 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001396, allocations: 100.7 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6733/0.6747, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/1.013, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.911/5.923, allocations: 1.869 GB / 3.075 GB, free: 435.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/5.924, allocations: 85.19 kB / 3.075 GB, free: 435.8 MB / 1.151 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 0.7508/6.675, allocations: 415.6 MB / 3.481 GB, free: 31.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/6.675, allocations: 13 kB / 3.481 GB, free: 31.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/6.675, allocations: 67.16 kB / 3.481 GB, free: 31.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005772/6.675, allocations: 419.7 kB / 3.481 GB, free: 30.59 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/6.675, allocations: 20 kB / 3.481 GB, free: 30.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/6.675, allocations: 32 kB / 3.481 GB, free: 30.54 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004191/6.676, allocations: 290.5 kB / 3.481 GB, free: 30.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/6.677, allocations: 0.603 MB / 3.482 GB, free: 29.57 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/6.677, allocations: 7.938 kB / 3.482 GB, free: 29.57 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/6.677, allocations: 0 / 3.482 GB, free: 29.57 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/6.677, allocations: 35.92 kB / 3.482 GB, free: 29.53 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/6.678, allocations: 2.995 MB / 3.485 GB, free: 26.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/6.678, allocations: 198.1 kB / 3.485 GB, free: 26.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/6.679, allocations: 116.6 kB / 3.485 GB, free: 25.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/6.679, allocations: 0 / 3.485 GB, free: 25.98 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/6.679, allocations: 50.48 kB / 3.485 GB, free: 25.92 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/6.679, allocations: 0 / 3.485 GB, free: 25.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003866/6.679, allocations: 145.3 kB / 3.485 GB, free: 25.77 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/6.679, allocations: 286.7 kB / 3.486 GB, free: 25.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/6.679, allocations: 215.6 kB / 3.486 GB, free: 25.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/6.679, allocations: 29.7 kB / 3.486 GB, free: 25.17 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/6.679, allocations: 259.6 kB / 3.486 GB, free: 24.91 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/6.679, allocations: 35.47 kB / 3.486 GB, free: 24.88 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/6.679, allocations: 0 / 3.486 GB, free: 24.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/6.679, allocations: 334.9 kB / 3.487 GB, free: 24.54 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/6.68, allocations: 27.98 kB / 3.487 GB, free: 24.51 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/6.68, allocations: 96.5 kB / 3.487 GB, free: 24.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/6.68, allocations: 39.97 kB / 3.487 GB, free: 24.35 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/6.68, allocations: 0 / 3.487 GB, free: 24.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000142/6.68, allocations: 125.5 kB / 3.487 GB, free: 24.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/6.68, allocations: 8 kB / 3.487 GB, free: 24.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/6.68, allocations: 4.172 kB / 3.487 GB, free: 24.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/6.68, allocations: 7.938 kB / 3.487 GB, free: 24.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/6.68, allocations: 23.98 kB / 3.487 GB, free: 24.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/6.68, allocations: 7.938 kB / 3.487 GB, free: 24.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/6.68, allocations: 27.92 kB / 3.487 GB, free: 24.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/6.68, allocations: 11.98 kB / 3.487 GB, free: 24.13 MB / 1.151 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.304e-05/6.68, allocations: 112.9 kB / 3.487 GB, free: 24.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/6.681, allocations: 23.72 kB / 3.487 GB, free: 23.99 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/6.681, allocations: 28.98 kB / 3.487 GB, free: 23.96 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/6.681, allocations: 0 / 3.487 GB, free: 23.96 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/6.681, allocations: 4 kB / 3.487 GB, free: 23.95 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/6.681, allocations: 7.906 kB / 3.487 GB, free: 23.95 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/6.682, allocations: 1.223 MB / 3.488 GB, free: 22.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/6.682, allocations: 4 kB / 3.488 GB, free: 22.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.816e-05/6.682, allocations: 36.19 kB / 3.488 GB, free: 22.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/6.682, allocations: 4 kB / 3.488 GB, free: 22.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/6.682, allocations: 0 / 3.488 GB, free: 22.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/6.682, allocations: 11.84 kB / 3.488 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/6.682, allocations: 4 kB / 3.488 GB, free: 22.59 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000204/6.682, allocations: 378.4 kB / 3.489 GB, free: 22.12 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005856/6.683, allocations: 0.815 MB / 3.489 GB, free: 21.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/6.683, allocations: 112.7 kB / 3.49 GB, free: 21.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/6.683, allocations: 7.984 kB / 3.49 GB, free: 21.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/6.683, allocations: 19.98 kB / 3.49 GB, free: 21.04 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/6.683, allocations: 11.98 kB / 3.49 GB, free: 21.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/6.683, allocations: 8 kB / 3.49 GB, free: 21.02 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001198/6.683, allocations: 175.1 kB / 3.49 GB, free: 20.85 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001557/6.685, allocations: 387.2 kB / 3.49 GB, free: 20.47 MB / 1.151 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.002074/6.687, allocations: 1.643 MB / 3.492 GB, free: 18.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001769/6.687, allocations: 75.91 kB / 3.492 GB, free: 18.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/6.687, allocations: 4 kB / 3.492 GB, free: 18.69 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/6.687, allocations: 51.86 kB / 3.492 GB, free: 18.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/6.688, allocations: 81.58 kB / 3.492 GB, free: 18.56 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/6.689, allocations: 0.5956 MB / 3.493 GB, free: 17.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/6.689, allocations: 0.9345 MB / 3.493 GB, free: 16.95 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/6.689, allocations: 4 kB / 3.493 GB, free: 16.95 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)