Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.946/1.946, allocations: 390.4 MB / 397.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 184.7 kB / 490.8 MB, free: 11.17 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.456/1.456, allocations: 221.4 MB / 0.7863 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 101.5 kB / 0.9264 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3733/0.3744, allocations: 149.1 MB / 1.072 GB, free: 15.46 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/1.273, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.034/5.307, allocations: 1.87 GB / 3.082 GB, free: 207.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/5.307, allocations: 82.45 kB / 3.082 GB, free: 207 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 1.37/6.678, allocations: 415.6 MB / 3.488 GB, free: 237.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/6.678, allocations: 12 kB / 3.488 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/6.678, allocations: 63.25 kB / 3.488 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/6.678, allocations: 427.8 kB / 3.488 GB, free: 236.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/6.678, allocations: 23.94 kB / 3.488 GB, free: 236.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.156e-05/6.678, allocations: 32 kB / 3.488 GB, free: 236.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004223/6.679, allocations: 286.5 kB / 3.488 GB, free: 236.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006249/6.679, allocations: 0.5996 MB / 3.489 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/6.679, allocations: 3.938 kB / 3.489 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/6.679, allocations: 4 kB / 3.489 GB, free: 235.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/6.679, allocations: 31.98 kB / 3.489 GB, free: 235.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/6.681, allocations: 2.99 MB / 3.492 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/6.681, allocations: 202.1 kB / 3.492 GB, free: 232.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/6.681, allocations: 112.7 kB / 3.492 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/6.681, allocations: 11.92 kB / 3.492 GB, free: 232 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/6.681, allocations: 46.5 kB / 3.492 GB, free: 231.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/6.681, allocations: 0 / 3.492 GB, free: 231.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003876/6.682, allocations: 129.5 kB / 3.493 GB, free: 231.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/6.682, allocations: 294.7 kB / 3.493 GB, free: 231.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/6.682, allocations: 219.6 kB / 3.493 GB, free: 231.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/6.682, allocations: 30.03 kB / 3.493 GB, free: 231.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.202e-05/6.682, allocations: 263.5 kB / 3.493 GB, free: 230.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/6.682, allocations: 35.45 kB / 3.493 GB, free: 230.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/6.682, allocations: 3.938 kB / 3.493 GB, free: 230.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.958e-05/6.682, allocations: 334.8 kB / 3.494 GB, free: 230.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/6.682, allocations: 24 kB / 3.494 GB, free: 230.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/6.682, allocations: 100.5 kB / 3.494 GB, free: 230.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.406e-05/6.682, allocations: 35.97 kB / 3.494 GB, free: 230.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/6.682, allocations: 4 kB / 3.494 GB, free: 230.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/6.683, allocations: 121.2 kB / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/6.683, allocations: 8 kB / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/6.683, allocations: 0 / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/6.683, allocations: 8.188 kB / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/6.683, allocations: 23.98 kB / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/6.683, allocations: 3.906 kB / 3.494 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/6.683, allocations: 31.91 kB / 3.494 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/6.683, allocations: 12 kB / 3.494 GB, free: 230.1 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 5.877e-05/6.683, allocations: 108.9 kB / 3.494 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/6.683, allocations: 27.62 kB / 3.494 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/6.683, allocations: 28.98 kB / 3.494 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/6.683, allocations: 7.984 kB / 3.494 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/6.683, allocations: 288 / 3.494 GB, free: 230 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/6.683, allocations: 4 kB / 3.494 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000969/6.684, allocations: 1.227 MB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/6.684, allocations: 11.94 kB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/6.684, allocations: 23.98 kB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/6.684, allocations: 4 kB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/6.684, allocations: 7.938 kB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/6.684, allocations: 0 / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/6.684, allocations: 4 kB / 3.495 GB, free: 228.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001853/6.685, allocations: 378.3 kB / 3.496 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004587/6.685, allocations: 0.8289 MB / 3.497 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/6.685, allocations: 112.7 kB / 3.497 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/6.685, allocations: 4 kB / 3.497 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/6.685, allocations: 19.98 kB / 3.497 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/6.685, allocations: 15.89 kB / 3.497 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/6.685, allocations: 8 kB / 3.497 GB, free: 227 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001057/6.686, allocations: 175.1 kB / 3.497 GB, free: 226.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001443/6.687, allocations: 391.2 kB / 3.497 GB, free: 226.5 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.00167/6.689, allocations: 1.648 MB / 3.499 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001543/6.689, allocations: 79.84 kB / 3.499 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/6.689, allocations: 0 / 3.499 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/6.689, allocations: 43.92 kB / 3.499 GB, free: 224.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/6.689, allocations: 89.56 kB / 3.499 GB, free: 224.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/6.69, allocations: 0.5877 MB / 3.5 GB, free: 223.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/6.691, allocations: 0.9384 MB / 3.501 GB, free: 222.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.81e-07/6.691, allocations: 0 / 3.501 GB, free: 222.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)