Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",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.618/1.618, allocations: 289.8 MB / 297.1 MB, free: 10.7 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 181.2 kB / 366.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 0.6256 GB, free: 9.758 MB / 478.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.000977, allocations: 89.11 kB / 0.7395 GB, free: 43.47 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.2964/0.2974, allocations: 122.4 MB / 0.8591 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/1.09, allocations: 116.3 MB / 0.9727 GB, free: 77 MB / 0.67 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/1.289, allocations: 146.5 MB / 1.116 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.289, allocations: 92.45 kB / 1.116 GB, free: 7.672 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.05063/1.34, allocations: 16.58 MB / 1.132 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.34, allocations: 8 kB / 1.132 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02679/1.367, allocations: 2.669 MB / 1.135 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.368, allocations: 0.6081 MB / 1.135 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/1.368, allocations: 4 kB / 1.135 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/1.368, allocations: 20 kB / 1.135 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008505/1.369, allocations: 490.7 kB / 1.136 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/1.37, allocations: 0.5116 MB / 1.136 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/1.37, allocations: 8.672 kB / 1.136 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/1.37, allocations: 3.938 kB / 1.136 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.37, allocations: 4 kB / 1.136 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/1.375, allocations: 2.945 MB / 1.139 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/1.376, allocations: 480 kB / 1.14 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/1.376, allocations: 321 kB / 1.14 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/1.377, allocations: 51.95 kB / 1.14 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.377, allocations: 34.56 kB / 1.14 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 3.076e-06/1.377, allocations: 0.75 kB / 1.14 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.006372/1.383, allocations: 1.388 MB / 1.141 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.383, allocations: 59.39 kB / 1.141 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/1.383, allocations: 235.6 kB / 1.142 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/1.384, allocations: 25.7 kB / 1.142 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/1.384, allocations: 176.1 kB / 1.142 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-05/1.384, allocations: 66.95 kB / 1.142 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.384, allocations: 0 / 1.142 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.384, allocations: 351.9 kB / 1.142 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/1.386, allocations: 0.8438 MB / 1.143 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.387, allocations: 0.904 MB / 1.144 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.4, allocations: 2.229 MB / 1.146 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.4, allocations: 0 / 1.146 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01501/1.415, allocations: 3.31 MB / 1.149 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.653e-05/1.415, allocations: 96.98 kB / 1.149 GB, free: 4.773 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01321/1.428, allocations: 2.89 MB / 1.152 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/1.428, allocations: 0 / 1.152 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005925/1.434, allocations: 0.6008 MB / 1.153 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/1.434, allocations: 0 / 1.153 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005562/1.44, allocations: 0.4939 MB / 1.153 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/1.44, allocations: 47.94 kB / 1.153 GB, free: 0.7383 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.44, allocations: 9.484 kB / 1.153 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01488/1.455, allocations: 3.232 MB / 1.156 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01325/1.468, allocations: 2.879 MB / 1.159 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.468, allocations: 0 / 1.159 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006082/1.474, allocations: 0.5931 MB / 1.16 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.474, allocations: 4 kB / 1.16 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005533/1.48, allocations: 495.3 kB / 1.16 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/1.48, allocations: 55.92 kB / 1.16 GB, free: 9.477 MB / 0.7637 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003674/1.481, allocations: 108.8 kB / 1.16 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.481, allocations: 35.61 kB / 1.161 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/1.486, allocations: 1.399 MB / 1.162 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.487, allocations: 4 kB / 1.162 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.487, allocations: 4 kB / 1.162 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.487, allocations: 0 / 1.162 GB, free: 7.973 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/1.488, allocations: 0.882 MB / 1.163 GB, free: 6.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004237/1.492, allocations: 1.075 MB / 1.164 GB, free: 5.895 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.494, allocations: 258.9 kB / 1.164 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.495, allocations: 0 / 1.164 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.495, allocations: 23.97 kB / 1.164 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/1.495, allocations: 0 / 1.164 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.495, allocations: 0 / 1.164 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004302/1.499, allocations: 1.205 MB / 1.165 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004476/1.503, allocations: 1.588 MB / 1.167 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/1.504, allocations: 200.5 kB / 1.167 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.504, allocations: 0 / 1.167 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.506, allocations: 175.8 kB / 1.167 GB, free: 2.402 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/1.506, allocations: 27.86 kB / 1.167 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/1.506, allocations: 19.97 kB / 1.167 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of sort global known variables: time 0.0002635/1.507, allocations: 191 kB / 1.167 GB, free: 2.168 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003072/1.51, allocations: 383.3 kB / 1.168 GB, free: 1.793 MB / 0.7637 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007218/1.51, allocations: 269.5 kB / 1.168 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.514, allocations: 1.984 MB / 1.17 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.514, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006524/1.515, allocations: 403.2 kB / 1.17 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/1.515, allocations: 47.81 kB / 1.17 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/1.517, allocations: 0.711 MB / 1.171 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.518, allocations: 0.9439 MB / 1.172 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of SimCode: time 6.21e-07/1.518, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.7794 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)