Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.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.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.027 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.0009357/0.0009357, allocations: 177.3 kB / 316 MB, free: 3.559 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.147/1.147, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008238/0.0008238, allocations: 90.2 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3213/0.3221, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.4701, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.9218, allocations: 135.7 MB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.9221, allocations: 78.45 kB / 1.017 GB, free: 2.883 MB / 0.6355 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.02273/0.9448, allocations: 8.416 MB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.9449, allocations: 11.94 kB / 1.025 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.945, allocations: 35.53 kB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.9453, allocations: 299.6 kB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.9453, allocations: 8 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.9454, allocations: 8 kB / 1.026 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001828/0.9456, allocations: 93.55 kB / 1.026 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.9458, allocations: 143 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9458, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.9458, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.9459, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007826/0.9466, allocations: 0.7841 MB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.9469, allocations: 113.7 kB / 1.027 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.947, allocations: 42.42 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.947, allocations: 4 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.9471, allocations: 33.56 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.9471, allocations: 0 / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.000342/0.9474, allocations: 118.3 kB / 1.027 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.9475, allocations: 59.41 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.9476, allocations: 175 kB / 1.027 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.9477, allocations: 29.7 kB / 1.027 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.9477, allocations: 130.4 kB / 1.027 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.9478, allocations: 49.92 kB / 1.027 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.9478, allocations: 112 / 1.027 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.9479, allocations: 329.5 kB / 1.028 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/0.948, allocations: 22.06 kB / 1.028 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.948, allocations: 25.42 kB / 1.028 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.9482, allocations: 50.16 kB / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9482, allocations: 0 / 1.028 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000224/0.9484, allocations: 119 kB / 1.028 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.9484, allocations: 96.66 kB / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9485, allocations: 0 / 1.028 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.9485, allocations: 3.906 kB / 1.028 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.9486, allocations: 35.67 kB / 1.028 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9487, allocations: 3.984 kB / 1.028 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.9488, allocations: 8 kB / 1.028 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.9488, allocations: 8.547 kB / 1.028 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.9488, allocations: 4 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001784/0.949, allocations: 79.7 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-06/0.949, allocations: 4 kB / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-06/0.949, allocations: 0 / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.9492, allocations: 31.89 kB / 1.028 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-06/0.9492, allocations: 3.938 kB / 1.028 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.9493, allocations: 19.92 kB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.9493, allocations: 4 kB / 1.028 GB, free: 8.98 MB / 0.6511 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.839e-05/0.9494, allocations: 112.8 kB / 1.028 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.9494, allocations: 15.81 kB / 1.028 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.9497, allocations: 132.9 kB / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.9497, allocations: 0 / 1.029 GB, free: 8.734 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9497, allocations: 3.906 kB / 1.029 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9497, allocations: 4 kB / 1.029 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.9499, allocations: 222.3 kB / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.95, allocations: 4 kB / 1.029 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.9501, allocations: 27.89 kB / 1.029 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.9501, allocations: 7.938 kB / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.9501, allocations: 0 / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9501, allocations: 0 / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9501, allocations: 0 / 1.029 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002434/0.9504, allocations: 232.1 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000321/0.9507, allocations: 0.5866 MB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.9508, allocations: 108.7 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.9508, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.951, allocations: 15.98 kB / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.9511, allocations: 15.08 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.9511, allocations: 7.938 kB / 1.03 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.272e-05/0.9512, allocations: 139.2 kB / 1.03 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001448/0.9526, allocations: 106.9 kB / 1.03 GB, free: 7.281 MB / 0.6511 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.0001913/0.9528, allocations: 107.2 kB / 1.03 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000186/0.953, allocations: 114.4 kB / 1.03 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.953, allocations: 4 kB / 1.03 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.9531, allocations: 38.56 kB / 1.03 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.9534, allocations: 31.34 kB / 1.03 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.9538, allocations: 236.9 kB / 1.03 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.9541, allocations: 0.7744 MB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9541, allocations: 0 / 1.031 GB, free: 5.992 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1)