Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.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.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior",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.597/1.597, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001154/0.001154, allocations: 173.3 kB / 366.3 MB, free: 2 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.35/1.35, allocations: 205.2 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009558/0.0009557, allocations: 82.14 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.233/0.234, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.8067, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.9698, allocations: 141.9 MB / 1.111 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.9701, allocations: 81.39 kB / 1.111 GB, free: 6.527 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.02411/0.9943, allocations: 8.417 MB / 1.119 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.9943, allocations: 8 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.9944, allocations: 31.62 kB / 1.12 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.9948, allocations: 309.3 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.9948, allocations: 4 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.9948, allocations: 12 kB / 1.12 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002033/0.995, allocations: 92.86 kB / 1.12 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.9953, allocations: 138.5 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9953, allocations: 0 / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.9953, allocations: 0 / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.9953, allocations: 4 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.9963, allocations: 0.7803 MB / 1.121 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.9965, allocations: 110.5 kB / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.9966, allocations: 45.42 kB / 1.121 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.9967, allocations: 4.109 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.9967, allocations: 34.5 kB / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 2.665e-06/0.9967, allocations: 0 / 1.121 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003624/0.9971, allocations: 131.5 kB / 1.121 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9971, allocations: 51.41 kB / 1.121 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.9973, allocations: 176.8 kB / 1.121 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.9973, allocations: 25.7 kB / 1.121 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9974, allocations: 136.2 kB / 1.122 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.9975, allocations: 47.3 kB / 1.122 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.9975, allocations: 4 kB / 1.122 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9976, allocations: 322.8 kB / 1.122 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.9977, allocations: 23.98 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-05/0.9977, allocations: 20 kB / 1.122 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.9979, allocations: 44.22 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9979, allocations: 1.781 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002767/0.9982, allocations: 129.3 kB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.9982, allocations: 97.69 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.9982, allocations: 4 kB / 1.122 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9983, allocations: 0 / 1.122 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.9984, allocations: 35.97 kB / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.9985, allocations: 0 / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.9986, allocations: 15.89 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.9986, allocations: 4 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/0.9986, allocations: 4 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001954/0.9988, allocations: 67.95 kB / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/0.9988, allocations: 0 / 1.122 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-06/0.9989, allocations: 4 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.999, allocations: 31.92 kB / 1.122 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-06/0.999, allocations: 0 / 1.122 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.9991, allocations: 19.83 kB / 1.122 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.9992, allocations: 12 kB / 1.122 GB, free: 10.94 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.716e-05/0.9992, allocations: 105 kB / 1.122 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.9993, allocations: 23.72 kB / 1.122 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.9996, allocations: 137.9 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9996, allocations: 0 / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9996, allocations: 0 / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.9996, allocations: 0 / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.9999, allocations: 234 kB / 1.123 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.9999, allocations: 4 kB / 1.123 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/1, allocations: 28.64 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1, allocations: 0 / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/1, allocations: 7.984 kB / 1.123 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1, allocations: 0 / 1.123 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1, allocations: 0 / 1.123 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002748/1, allocations: 223.2 kB / 1.123 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003866/1.001, allocations: 0.593 MB / 1.124 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.954e-05/1.001, allocations: 113.5 kB / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/1.001, allocations: 0 / 1.124 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.001, allocations: 19.98 kB / 1.124 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/1.001, allocations: 4 kB / 1.124 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/1.001, allocations: 3.984 kB / 1.124 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001202/1.001, allocations: 140.5 kB / 1.124 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001775/1.003, allocations: 111.5 kB / 1.124 GB, free: 9.117 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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.0001964/1.003, allocations: 103.2 kB / 1.124 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000248/1.003, allocations: 110 kB / 1.124 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.004, allocations: 4 kB / 1.124 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/1.004, allocations: 36 kB / 1.124 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/1.004, allocations: 42.31 kB / 1.124 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/1.004, allocations: 232.1 kB / 1.125 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004444/1.005, allocations: 0.7748 MB / 1.125 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of SimCode: time 3.9e-07/1.005, allocations: 0 / 1.125 GB, free: 7.766 MB / 0.7292 GB (rm -f Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_8_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1)