Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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 2.048/2.048, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001579/0.00158, allocations: 185.2 kB / 490.8 MB, free: 1.941 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.539/1.539, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 90.17 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7121/0.7133, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/1.039, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.609/5.648, allocations: 1.874 GB / 3.086 GB, free: 434.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/5.648, allocations: 83.8 kB / 3.086 GB, free: 434.6 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 1.77/7.418, allocations: 0.6097 GB / 3.695 GB, free: 272 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/7.418, allocations: 8 kB / 3.695 GB, free: 272 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/7.42, allocations: 282.5 kB / 3.696 GB, free: 271.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/7.421, allocations: 0.5735 MB / 3.696 GB, free: 271.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/7.421, allocations: 24 kB / 3.696 GB, free: 271.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/7.422, allocations: 47.89 kB / 3.696 GB, free: 271.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009973/7.423, allocations: 0.522 MB / 3.697 GB, free: 270.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/7.424, allocations: 0.7847 MB / 3.698 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/7.424, allocations: 3.156 kB / 3.698 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/7.424, allocations: 4 kB / 3.698 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/7.424, allocations: 45.23 kB / 3.698 GB, free: 269.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/7.428, allocations: 3.71 MB / 3.701 GB, free: 265.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/7.428, allocations: 180 kB / 3.701 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/7.428, allocations: 121.8 kB / 3.702 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/7.429, allocations: 0.6276 MB / 3.702 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/7.429, allocations: 45.12 kB / 3.702 GB, free: 264.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=19): time 3.036e-06/7.429, allocations: 3.938 kB / 3.702 GB, free: 264.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=19): time 0.001619/7.431, allocations: 410 kB / 3.703 GB, free: 264.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/7.431, allocations: 110.8 kB / 3.703 GB, free: 264.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/7.431, allocations: 348.6 kB / 3.703 GB, free: 263.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/7.431, allocations: 29.7 kB / 3.703 GB, free: 263.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/7.431, allocations: 356 kB / 3.703 GB, free: 263.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/7.431, allocations: 67.03 kB / 3.703 GB, free: 263.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/7.431, allocations: 3.312 kB / 3.703 GB, free: 263.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/7.431, allocations: 350.8 kB / 3.704 GB, free: 263 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/7.432, allocations: 87.95 kB / 3.704 GB, free: 262.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/7.432, allocations: 202.7 kB / 3.704 GB, free: 262.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003228/7.432, allocations: 158.9 kB / 3.704 GB, free: 262.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/7.432, allocations: 0 / 3.704 GB, free: 262.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006094/7.433, allocations: 354.6 kB / 3.705 GB, free: 262.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/7.433, allocations: 7.938 kB / 3.705 GB, free: 262.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/7.433, allocations: 4 kB / 3.705 GB, free: 262.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/7.433, allocations: 4 kB / 3.705 GB, free: 262.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/7.433, allocations: 71.34 kB / 3.705 GB, free: 262.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/7.433, allocations: 4 kB / 3.705 GB, free: 262.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/7.434, allocations: 50.17 kB / 3.705 GB, free: 262.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-05/7.434, allocations: 12 kB / 3.705 GB, free: 262 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.968e-05/7.434, allocations: 127 kB / 3.705 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/7.434, allocations: 47.44 kB / 3.705 GB, free: 261.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/7.435, allocations: 260.2 kB / 3.705 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/7.435, allocations: 0 / 3.705 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/7.435, allocations: 7.906 kB / 3.705 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/7.435, allocations: 0 / 3.705 GB, free: 261.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/7.436, allocations: 1.199 MB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/7.436, allocations: 4 kB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/7.437, allocations: 51.47 kB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/7.437, allocations: 8 kB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/7.437, allocations: 4 kB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/7.437, allocations: 7.938 kB / 3.706 GB, free: 260.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/7.437, allocations: 7.984 kB / 3.706 GB, free: 260.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005945/7.437, allocations: 0.6208 MB / 3.707 GB, free: 259.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00095/7.438, allocations: 1.103 MB / 3.708 GB, free: 258.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/7.438, allocations: 140.5 kB / 3.708 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/7.438, allocations: 7.719 kB / 3.708 GB, free: 258.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/7.439, allocations: 35.81 kB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/7.439, allocations: 23.48 kB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/7.439, allocations: 16 kB / 3.708 GB, free: 258 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002578/7.439, allocations: 267.2 kB / 3.709 GB, free: 257.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002297/7.441, allocations: 0.5696 MB / 3.709 GB, free: 257.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002904/7.444, allocations: 2.224 MB / 3.711 GB, free: 255.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004297/7.445, allocations: 214.7 kB / 3.711 GB, free: 255.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/7.445, allocations: 4 kB / 3.711 GB, free: 255.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/7.445, allocations: 95.41 kB / 3.712 GB, free: 255.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/7.446, allocations: 174.8 kB / 3.712 GB, free: 254.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/7.447, allocations: 0.8423 MB / 3.713 GB, free: 254 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005489/7.448, allocations: 1.048 MB / 3.714 GB, free: 252.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/7.448, allocations: 0 / 3.714 GB, free: 252.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)