Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.334/2.334, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001667/0.001667, allocations: 189.2 kB / 360.3 MB, free: 7.492 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.942/1.942, allocations: 205.1 MB / 0.6187 GB, free: 12.32 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.001285/0.001284, allocations: 84.92 kB / 0.7317 GB, free: 44.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3035/0.3049, allocations: 121.4 MB / 0.8502 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.9512, allocations: 115.2 MB / 0.9628 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/1.188, allocations: 145.1 MB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/1.188, allocations: 88.7 kB / 1.105 GB, free: 11.38 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.07917/1.268, allocations: 16.27 MB / 1.12 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.268, allocations: 8 kB / 1.12 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05802/1.326, allocations: 2.665 MB / 1.123 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/1.328, allocations: 0.6042 MB / 1.124 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.328, allocations: 8 kB / 1.124 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003768/1.328, allocations: 23.92 kB / 1.124 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/1.33, allocations: 489 kB / 1.124 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/1.331, allocations: 0.5114 MB / 1.125 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/1.331, allocations: 0 / 1.125 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/1.331, allocations: 0 / 1.125 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/1.331, allocations: 12 kB / 1.125 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006744/1.338, allocations: 2.959 MB / 1.128 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/1.339, allocations: 468.9 kB / 1.128 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008647/1.34, allocations: 325 kB / 1.128 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/1.341, allocations: 47.97 kB / 1.128 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.341, allocations: 34.55 kB / 1.128 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 3.787e-06/1.341, allocations: 0 / 1.128 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.01131/1.352, allocations: 1.389 MB / 1.13 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/1.352, allocations: 51.41 kB / 1.13 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/1.352, allocations: 247.6 kB / 1.13 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/1.353, allocations: 25.7 kB / 1.13 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/1.353, allocations: 176.1 kB / 1.13 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.353, allocations: 66.95 kB / 1.13 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.353, allocations: 0 / 1.13 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.354, allocations: 346.7 kB / 1.131 GB, free: 248 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/1.356, allocations: 0.8438 MB / 1.131 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/1.359, allocations: 0.9043 MB / 1.132 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0215/1.381, allocations: 2.221 MB / 1.134 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.381, allocations: 7.938 kB / 1.134 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0319/1.412, allocations: 3.3 MB / 1.138 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.104e-05/1.413, allocations: 98.62 kB / 1.138 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0233/1.436, allocations: 2.878 MB / 1.141 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/1.436, allocations: 4 kB / 1.141 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/1.448, allocations: 0.597 MB / 1.141 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.449, allocations: 4 kB / 1.141 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/1.46, allocations: 0.4913 MB / 1.142 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/1.461, allocations: 51.92 kB / 1.142 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.461, allocations: 7.938 kB / 1.142 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02574/1.486, allocations: 3.237 MB / 1.145 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02887/1.515, allocations: 2.882 MB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/1.515, allocations: 4 kB / 1.148 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01873/1.534, allocations: 0.597 MB / 1.148 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/1.534, allocations: 4 kB / 1.148 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/1.547, allocations: 491.4 kB / 1.149 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004231/1.547, allocations: 55.92 kB / 1.149 GB, free: 13.54 MB / 0.7605 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.0003928/1.548, allocations: 109.4 kB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/1.548, allocations: 31.62 kB / 1.149 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009015/1.557, allocations: 1.407 MB / 1.15 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.557, allocations: 4 kB / 1.15 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.557, allocations: 1.312 kB / 1.15 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.557, allocations: 0 / 1.15 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/1.559, allocations: 0.871 MB / 1.151 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007122/1.566, allocations: 1.079 MB / 1.152 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004617/1.571, allocations: 251.7 kB / 1.152 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.571, allocations: 0 / 1.152 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/1.571, allocations: 17.66 kB / 1.152 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.571, allocations: 4 kB / 1.152 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.571, allocations: 0 / 1.152 GB, free: 9.68 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007188/1.578, allocations: 1.214 MB / 1.154 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007728/1.586, allocations: 1.581 MB / 1.155 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/1.586, allocations: 204.4 kB / 1.155 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/1.587, allocations: 7.984 kB / 1.155 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/1.591, allocations: 175.8 kB / 1.156 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/1.591, allocations: 15.97 kB / 1.156 GB, free: 6.434 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.591, allocations: 27.97 kB / 1.156 GB, free: 6.406 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0003043/1.592, allocations: 187 kB / 1.156 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003798/1.595, allocations: 375.3 kB / 1.156 GB, free: 5.859 MB / 0.7605 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.0008548/1.596, allocations: 271.9 kB / 1.156 GB, free: 5.586 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006205/1.603, allocations: 1.992 MB / 1.158 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.603, allocations: 0 / 1.158 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/1.604, allocations: 407.2 kB / 1.159 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/1.605, allocations: 52.7 kB / 1.159 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/1.608, allocations: 0.7074 MB / 1.159 GB, free: 2.383 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.61, allocations: 0.9405 MB / 1.16 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of SimCode: time 1.583e-06/1.61, allocations: 0 / 1.16 GB, free: 1.414 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)