Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.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.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.285/1.285, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.001114/0.001114, allocations: 185 kB / 316 MB, free: 3.531 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.359/1.359, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008113/0.0008114, allocations: 85.28 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3924/0.3932, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.5764, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5467/1.123, allocations: 140.2 MB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.123, allocations: 93.86 kB / 1.022 GB, free: 14.36 MB / 0.6511 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.04778/1.171, allocations: 16.6 MB / 1.038 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/1.171, allocations: 11.94 kB / 1.038 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02623/1.197, allocations: 2.665 MB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.199, allocations: 0.6042 MB / 1.041 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/1.199, allocations: 8 kB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/1.199, allocations: 16 kB / 1.041 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008161/1.2, allocations: 489.1 kB / 1.042 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/1.201, allocations: 0.5087 MB / 1.042 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.201, allocations: 0 / 1.042 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/1.201, allocations: 3.906 kB / 1.042 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.201, allocations: 8 kB / 1.042 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003889/1.205, allocations: 2.957 MB / 1.045 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005983/1.206, allocations: 477.2 kB / 1.045 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004209/1.206, allocations: 328.5 kB / 1.046 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/1.206, allocations: 49.09 kB / 1.046 GB, free: 9.551 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.206, allocations: 34.55 kB / 1.046 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/1.206, allocations: 0 / 1.046 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22): time 0.006071/1.212, allocations: 1.383 MB / 1.047 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.212, allocations: 51.41 kB / 1.047 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/1.213, allocations: 245.2 kB / 1.047 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/1.213, allocations: 29.7 kB / 1.048 GB, free: 8.117 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/1.213, allocations: 172 kB / 1.048 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.024e-05/1.213, allocations: 68.61 kB / 1.048 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/1.214, allocations: 4 kB / 1.048 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.214, allocations: 339.7 kB / 1.048 GB, free: 7.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/1.215, allocations: 0.8422 MB / 1.049 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.216, allocations: 0.9114 MB / 1.05 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.228, allocations: 2.226 MB / 1.052 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.228, allocations: 0 / 1.052 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01377/1.241, allocations: 3.305 MB / 1.055 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.242, allocations: 98.61 kB / 1.055 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01222/1.254, allocations: 2.896 MB / 1.058 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/1.254, allocations: 3.984 kB / 1.058 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005675/1.26, allocations: 0.5921 MB / 1.059 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.26, allocations: 4 kB / 1.059 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005224/1.265, allocations: 491.3 kB / 1.059 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/1.265, allocations: 55.73 kB / 1.059 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.265, allocations: 7.938 kB / 1.059 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01369/1.279, allocations: 3.23 MB / 1.062 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01231/1.291, allocations: 2.876 MB / 1.065 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.291, allocations: 4 kB / 1.065 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/1.297, allocations: 0.5966 MB / 1.066 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/1.297, allocations: 0 / 1.066 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005216/1.302, allocations: 0.4946 MB / 1.066 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.302, allocations: 51.23 kB / 1.066 GB, free: 8.883 MB / 0.6823 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.0002858/1.303, allocations: 112.9 kB / 1.066 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.303, allocations: 35.53 kB / 1.066 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/1.308, allocations: 1.398 MB / 1.068 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/1.308, allocations: 7.906 kB / 1.068 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.308, allocations: 4 kB / 1.068 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.308, allocations: 0 / 1.068 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/1.309, allocations: 0.8739 MB / 1.069 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003849/1.313, allocations: 1.078 MB / 1.07 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.315, allocations: 247.1 kB / 1.07 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/1.315, allocations: 7.906 kB / 1.07 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/1.315, allocations: 19.72 kB / 1.07 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.315, allocations: 3.938 kB / 1.07 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.315, allocations: 4 kB / 1.07 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003898/1.319, allocations: 1.207 MB / 1.071 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004091/1.323, allocations: 1.586 MB / 1.073 GB, free: 3.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/1.323, allocations: 198.8 kB / 1.073 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.323, allocations: 3.984 kB / 1.073 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.325, allocations: 175.8 kB / 1.073 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/1.326, allocations: 19.59 kB / 1.073 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/1.326, allocations: 27.97 kB / 1.073 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001975/1.326, allocations: 185.7 kB / 1.073 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002549/1.328, allocations: 382.4 kB / 1.074 GB, free: 2.48 MB / 0.6823 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.0006328/1.329, allocations: 270.5 kB / 1.074 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003105/1.332, allocations: 1.974 MB / 1.076 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.332, allocations: 4 kB / 1.076 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005275/1.333, allocations: 407.2 kB / 1.076 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/1.333, allocations: 48.03 kB / 1.076 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/1.335, allocations: 0.7056 MB / 1.077 GB, free: 76 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.336, allocations: 0.9397 MB / 1.078 GB, free: 15.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.336, allocations: 0 / 1.078 GB, free: 15.11 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1)