Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 289.8 MB / 297.1 MB, free: 8.93 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.001144/0.001144, allocations: 181.3 kB / 366.3 MB, free: 11.36 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.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 11.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 81.17 kB / 0.7396 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.5959/0.597, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.8354, allocations: 116.3 MB / 0.9726 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/5.318, allocations: 2.069 GB / 3.042 GB, free: 231.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/5.318, allocations: 79.95 kB / 3.042 GB, free: 231.7 MB / 0.948 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 2.196/7.514, allocations: 0.6043 GB / 3.646 GB, free: 188.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/7.514, allocations: 12.03 kB / 3.646 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/7.516, allocations: 285.6 kB / 3.646 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/7.518, allocations: 0.5787 MB / 3.647 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/7.518, allocations: 23.44 kB / 3.647 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/7.518, allocations: 48.34 kB / 3.647 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001153/7.519, allocations: 0.5187 MB / 3.648 GB, free: 188.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/7.521, allocations: 0.7836 MB / 3.648 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/7.521, allocations: 5.156 kB / 3.648 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.198e-05/7.521, allocations: 0 / 3.648 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/7.521, allocations: 40.67 kB / 3.648 GB, free: 188.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004376/7.525, allocations: 3.698 MB / 3.652 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/7.526, allocations: 177 kB / 3.652 GB, free: 185.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/7.526, allocations: 125.9 kB / 3.652 GB, free: 185.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007515/7.526, allocations: 0.6392 MB / 3.653 GB, free: 185.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/7.527, allocations: 40 kB / 3.653 GB, free: 185 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 3.126e-06/7.527, allocations: 0 / 3.653 GB, free: 185 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001741/7.528, allocations: 417.5 kB / 3.653 GB, free: 185 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/7.528, allocations: 106.1 kB / 3.653 GB, free: 184.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/7.529, allocations: 349.1 kB / 3.654 GB, free: 184.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.139e-05/7.529, allocations: 29.48 kB / 3.654 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/7.529, allocations: 357.9 kB / 3.654 GB, free: 184.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/7.529, allocations: 62.28 kB / 3.654 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/7.529, allocations: 2.688 kB / 3.654 GB, free: 184.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/7.529, allocations: 356.9 kB / 3.655 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/7.529, allocations: 82.75 kB / 3.655 GB, free: 184.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/7.53, allocations: 215.4 kB / 3.655 GB, free: 184.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/7.53, allocations: 153.2 kB / 3.655 GB, free: 184.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/7.53, allocations: 0 / 3.655 GB, free: 184.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006063/7.531, allocations: 353.5 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/7.531, allocations: 5.938 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/7.531, allocations: 0 / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/7.531, allocations: 10.91 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/7.531, allocations: 67.42 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/7.531, allocations: 3.25 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/7.532, allocations: 51.45 kB / 3.655 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/7.532, allocations: 28.62 kB / 3.655 GB, free: 184 MB / 0.948 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 0.0001196/7.532, allocations: 108.7 kB / 3.656 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/7.532, allocations: 51.81 kB / 3.656 GB, free: 183.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/7.532, allocations: 268.8 kB / 3.656 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/7.532, allocations: 3.469 kB / 3.656 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/7.532, allocations: 0 / 3.656 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/7.532, allocations: 0 / 3.656 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/7.534, allocations: 1.185 MB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/7.534, allocations: 13.34 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/7.535, allocations: 49.02 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/7.535, allocations: 3.938 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/7.535, allocations: 3.406 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/7.535, allocations: 11.12 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/7.535, allocations: 6.281 kB / 3.657 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006913/7.535, allocations: 0.6221 MB / 3.658 GB, free: 182.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001073/7.537, allocations: 1.1 MB / 3.659 GB, free: 181.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/7.537, allocations: 142.8 kB / 3.659 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/7.537, allocations: 10.19 kB / 3.659 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/7.537, allocations: 36.12 kB / 3.659 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/7.537, allocations: 24.98 kB / 3.659 GB, free: 181.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/7.537, allocations: 12.62 kB / 3.659 GB, free: 181.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002628/7.538, allocations: 268.8 kB / 3.659 GB, free: 181.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002491/7.54, allocations: 0.5753 MB / 3.66 GB, free: 181.7 MB / 0.948 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.003622/7.544, allocations: 2.219 MB / 3.662 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004585/7.544, allocations: 208.8 kB / 3.662 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/7.544, allocations: 7.5 kB / 3.662 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/7.544, allocations: 99.48 kB / 3.662 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/7.546, allocations: 176.6 kB / 3.662 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/7.548, allocations: 0.8468 MB / 3.663 GB, free: 180.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007182/7.548, allocations: 1.047 MB / 3.664 GB, free: 180 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/7.548, allocations: 3.344 kB / 3.664 GB, free: 180 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_8_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)