Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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.0.1-maint.8.0.x/package.mo): time 1.398/1.398, allocations: 285.5 MB / 292.8 MB, free: 0.6328 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009894/0.0009894, allocations: 178.5 kB / 361.1 MB, free: 15.3 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 0.6195 GB, free: 5.824 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008359, allocations: 94.44 kB / 0.7325 GB, free: 47.52 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2036/0.2045, allocations: 121.5 MB / 0.8512 GB, free: 12.63 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.7253, allocations: 115.3 MB / 0.9638 GB, free: 85.65 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.8989, allocations: 163.8 MB / 1.124 GB, free: 1.68 MB / 0.7215 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.8992, allocations: 78.19 kB / 1.124 GB, free: 1.605 MB / 0.7215 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003781/0.9029, allocations: 1.622 MB / 1.125 GB, free: 15.98 MB / 0.7371 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.903, allocations: 8 kB / 1.125 GB, free: 15.97 MB / 0.7371 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.903, allocations: 3.906 kB / 1.125 GB, free: 15.97 MB / 0.7371 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.9032, allocations: 171 kB / 1.126 GB, free: 15.76 MB / 0.7371 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/0.9032, allocations: 26.2 kB / 1.126 GB, free: 15.73 MB / 0.7371 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.9032, allocations: 4 kB / 1.126 GB, free: 15.73 MB / 0.7371 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.407e-05/0.9033, allocations: 9.875 kB / 1.126 GB, free: 15.72 MB / 0.7371 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.9034, allocations: 38.42 kB / 1.126 GB, free: 15.68 MB / 0.7371 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.9034, allocations: 0 / 1.126 GB, free: 15.68 MB / 0.7371 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.9034, allocations: 0.9688 kB / 1.126 GB, free: 15.68 MB / 0.7371 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.9034, allocations: 3.906 kB / 1.126 GB, free: 15.67 MB / 0.7371 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.9036, allocations: 135.1 kB / 1.126 GB, free: 15.5 MB / 0.7371 GB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/0.9036, allocations: 23.2 kB / 1.126 GB, free: 15.47 MB / 0.7371 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.9037, allocations: 9.422 kB / 1.126 GB, free: 15.46 MB / 0.7371 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.9038, allocations: 90.58 kB / 1.126 GB, free: 15.36 MB / 0.7371 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.9039, allocations: 35.31 kB / 1.126 GB, free: 15.31 MB / 0.7371 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.9039, allocations: 0 / 1.126 GB, free: 15.31 MB / 0.7371 GB Notification: Performance of matching and sorting (n=3): time 0.0001977/0.9041, allocations: 53.53 kB / 1.126 GB, free: 15.25 MB / 0.7371 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.9041, allocations: 51.41 kB / 1.126 GB, free: 15.19 MB / 0.7371 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.9042, allocations: 96.94 kB / 1.126 GB, free: 15.09 MB / 0.7371 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.9042, allocations: 25.7 kB / 1.126 GB, free: 15.06 MB / 0.7371 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.9043, allocations: 85.72 kB / 1.126 GB, free: 14.97 MB / 0.7371 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.9043, allocations: 7.906 kB / 1.126 GB, free: 14.96 MB / 0.7371 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-06/0.9043, allocations: 0 / 1.126 GB, free: 14.96 MB / 0.7371 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9044, allocations: 310.8 kB / 1.126 GB, free: 14.65 MB / 0.7371 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.9045, allocations: 12 kB / 1.126 GB, free: 14.64 MB / 0.7371 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.9045, allocations: 0 / 1.126 GB, free: 14.64 MB / 0.7371 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.9045, allocations: 7.984 kB / 1.126 GB, free: 14.63 MB / 0.7371 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9045, allocations: 0 / 1.126 GB, free: 14.63 MB / 0.7371 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.86e-05/0.9046, allocations: 49.59 kB / 1.127 GB, free: 14.58 MB / 0.7371 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.9047, allocations: 11.94 kB / 1.127 GB, free: 14.57 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9047, allocations: 1.438 kB / 1.127 GB, free: 14.57 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.9047, allocations: 0 / 1.127 GB, free: 14.57 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.9048, allocations: 4 kB / 1.127 GB, free: 14.56 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9048, allocations: 3.984 kB / 1.127 GB, free: 14.56 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.9048, allocations: 8 kB / 1.127 GB, free: 14.55 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.9048, allocations: 0 / 1.127 GB, free: 14.55 MB / 0.7371 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.88e-05/0.9049, allocations: 104.8 kB / 1.127 GB, free: 14.44 MB / 0.7371 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.9049, allocations: 5.5 kB / 1.127 GB, free: 14.44 MB / 0.7371 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.9051, allocations: 54.14 kB / 1.127 GB, free: 14.37 MB / 0.7371 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9051, allocations: 0 / 1.127 GB, free: 14.37 MB / 0.7371 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9051, allocations: 4 kB / 1.127 GB, free: 14.37 MB / 0.7371 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.9051, allocations: 0 / 1.127 GB, free: 14.37 MB / 0.7371 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.9052, allocations: 130.2 kB / 1.127 GB, free: 14.2 MB / 0.7371 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.9052, allocations: 10.41 kB / 1.127 GB, free: 14.2 MB / 0.7371 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.9052, allocations: 11.94 kB / 1.127 GB, free: 14.18 MB / 0.7371 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9052, allocations: 0 / 1.127 GB, free: 14.18 MB / 0.7371 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.9052, allocations: 0 / 1.127 GB, free: 14.18 MB / 0.7371 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.9052, allocations: 0 / 1.127 GB, free: 14.18 MB / 0.7371 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9053, allocations: 0 / 1.127 GB, free: 14.18 MB / 0.7371 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001074/0.9054, allocations: 77.02 kB / 1.127 GB, free: 14.09 MB / 0.7371 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000222/0.9056, allocations: 449.5 kB / 1.127 GB, free: 13.63 MB / 0.7371 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.9057, allocations: 81.02 kB / 1.127 GB, free: 13.53 MB / 0.7371 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.9057, allocations: 7.984 kB / 1.127 GB, free: 13.52 MB / 0.7371 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-05/0.9057, allocations: 3.938 kB / 1.127 GB, free: 13.52 MB / 0.7371 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.9057, allocations: 5.156 kB / 1.127 GB, free: 13.52 MB / 0.7371 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.9058, allocations: 4 kB / 1.127 GB, free: 13.51 MB / 0.7371 GB Notification: Performance of sort global known variables: time 2.645e-05/0.9058, allocations: 79.28 kB / 1.128 GB, free: 13.43 MB / 0.7371 GB Notification: Performance of remove unused functions: time 0.0007462/0.9065, allocations: 15.94 kB / 1.128 GB, free: 13.42 MB / 0.7371 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002299/0.9068, allocations: 149.8 kB / 1.128 GB, free: 13.27 MB / 0.7371 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.9069, allocations: 15.98 kB / 1.128 GB, free: 13.25 MB / 0.7371 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9069, allocations: 2.594 kB / 1.128 GB, free: 13.25 MB / 0.7371 GB Notification: Performance of simCode: created simulation system equations: time 1.818e-05/0.9069, allocations: 12 kB / 1.128 GB, free: 13.24 MB / 0.7371 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.907, allocations: 7.578 kB / 1.128 GB, free: 13.23 MB / 0.7371 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.9072, allocations: 58.55 kB / 1.128 GB, free: 13.16 MB / 0.7371 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.9075, allocations: 0.6915 MB / 1.128 GB, free: 12.44 MB / 0.7371 GB Notification: Performance of SimCode: time 2.21e-07/0.9075, allocations: 0 / 1.128 GB, free: 12.44 MB / 0.7371 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)