Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 249.4 MB / 256.7 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 200.3 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.0008434, allocations: 95.31 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3667/0.3676, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.5436, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.743/4.287, allocations: 2.187 GB / 3.072 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/4.287, allocations: 83.95 kB / 3.072 GB, free: 215.8 MB / 0.8698 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.73/6.017, allocations: 0.5847 GB / 3.657 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/6.017, allocations: 7.594 kB / 3.657 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/6.019, allocations: 284 kB / 3.657 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/6.02, allocations: 0.5783 MB / 3.658 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/6.02, allocations: 21.53 kB / 3.658 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/6.02, allocations: 48.72 kB / 3.658 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007661/6.021, allocations: 0.5231 MB / 3.658 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/6.022, allocations: 0.7836 MB / 3.659 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/6.022, allocations: 5.625 kB / 3.659 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/6.022, allocations: 6.219 kB / 3.659 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/6.022, allocations: 39.55 kB / 3.659 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/6.025, allocations: 3.692 MB / 3.663 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/6.025, allocations: 178.1 kB / 3.663 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/6.025, allocations: 127.5 kB / 3.663 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/6.026, allocations: 0.6305 MB / 3.663 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/6.026, allocations: 35.34 kB / 3.663 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.815e-06/6.026, allocations: 0 / 3.663 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00146/6.027, allocations: 421.9 kB / 3.664 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/6.027, allocations: 109.3 kB / 3.664 GB, free: 160 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/6.028, allocations: 353.3 kB / 3.664 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/6.028, allocations: 29.64 kB / 3.664 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/6.028, allocations: 355.5 kB / 3.665 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/6.028, allocations: 68.05 kB / 3.665 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/6.028, allocations: 0 / 3.665 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.181e-05/6.028, allocations: 358.4 kB / 3.665 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/6.028, allocations: 90.84 kB / 3.665 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/6.028, allocations: 206.8 kB / 3.665 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/6.029, allocations: 146.9 kB / 3.665 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/6.029, allocations: 0 / 3.665 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005275/6.029, allocations: 360.2 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/6.029, allocations: 5.625 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/6.029, allocations: 3.969 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/6.029, allocations: 3.938 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/6.03, allocations: 66.02 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/6.03, allocations: 9.281 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/6.03, allocations: 55.36 kB / 3.666 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/6.03, allocations: 11.41 kB / 3.666 GB, free: 159.1 MB / 0.8698 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 7.629e-05/6.03, allocations: 114.3 kB / 3.666 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/6.03, allocations: 48.34 kB / 3.666 GB, free: 159 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/6.031, allocations: 262.7 kB / 3.666 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/6.031, allocations: 1.938 kB / 3.666 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.031, allocations: 4.875 kB / 3.666 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/6.031, allocations: 0 / 3.666 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/6.032, allocations: 1.196 MB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/6.032, allocations: 3.531 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/6.033, allocations: 49.36 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/6.033, allocations: 10.62 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/6.033, allocations: 3.812 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/6.033, allocations: 3.781 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/6.033, allocations: 15.39 kB / 3.668 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005485/6.033, allocations: 0.6156 MB / 3.668 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008922/6.034, allocations: 1.106 MB / 3.669 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/6.034, allocations: 142.4 kB / 3.669 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/6.034, allocations: 3.938 kB / 3.669 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/6.035, allocations: 36.34 kB / 3.669 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/6.035, allocations: 29.17 kB / 3.67 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/6.035, allocations: 7.812 kB / 3.67 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002443/6.035, allocations: 268.4 kB / 3.67 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002013/6.037, allocations: 0.5744 MB / 3.67 GB, free: 156.7 MB / 0.8698 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.002306/6.039, allocations: 2.221 MB / 3.673 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003728/6.04, allocations: 209.7 kB / 3.673 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.04, allocations: 3.938 kB / 3.673 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/6.04, allocations: 93.5 kB / 3.673 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008937/6.041, allocations: 175.5 kB / 3.673 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/6.042, allocations: 0.8467 MB / 3.674 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005877/6.043, allocations: 1.05 MB / 3.675 GB, free: 155 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/6.043, allocations: 0 / 3.675 GB, free: 155 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)