Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.InteriorConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.241/1.241, 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.0009911/0.0009911, allocations: 185.1 kB / 316 MB, free: 3.594 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.201/1.201, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.00105/0.00105, allocations: 93.7 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3797/0.3808, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.5746, allocations: 106.3 MB / 0.8847 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5612/1.136, allocations: 135.8 MB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.136, allocations: 84.64 kB / 1.017 GB, free: 2.879 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.00904/1.145, allocations: 3.32 MB / 1.021 GB, free: 36 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.145, allocations: 15.98 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/1.145, allocations: 8.938 kB / 1.021 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/1.146, allocations: 213.8 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/1.146, allocations: 3.938 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/1.146, allocations: 8 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/1.146, allocations: 33.62 kB / 1.021 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/1.146, allocations: 71.11 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.146, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/1.146, allocations: 4 kB / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/1.146, allocations: 0 / 1.021 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/1.146, allocations: 361.4 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/1.147, allocations: 46 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.334e-05/1.147, allocations: 16.61 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/1.147, allocations: 4 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/1.147, allocations: 37.83 kB / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.147, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002416/1.147, allocations: 53.09 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.147, allocations: 55.41 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.147, allocations: 115 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/1.147, allocations: 25.7 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/1.147, allocations: 103.3 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/1.147, allocations: 11.81 kB / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/1.147, allocations: 0 / 1.022 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.147, allocations: 318.1 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.22e-05/1.147, allocations: 11.44 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/1.147, allocations: 11.44 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/1.147, allocations: 19.05 kB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.148, allocations: 0 / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/1.148, allocations: 64.45 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/1.148, allocations: 96.25 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/1.148, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/1.148, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.148, allocations: 19.98 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/1.148, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/1.148, allocations: 11.91 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.148, allocations: 3.984 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/1.148, allocations: 6.656 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.94e-05/1.148, allocations: 26.3 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/1.148, allocations: 0 / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-06/1.148, allocations: 7.938 kB / 1.022 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/1.148, allocations: 19.98 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-06/1.148, allocations: 0 / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/1.148, allocations: 4.875 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/1.148, allocations: 8.531 kB / 1.022 GB, free: 14.22 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 (4): * Single equations (assignments): 4 * 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 5.875e-05/1.148, allocations: 108.9 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/1.148, allocations: 7.906 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/1.148, allocations: 63.3 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.148, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/1.148, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/1.148, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/1.149, allocations: 163 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.149, allocations: 4 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/1.149, allocations: 19.89 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.149, allocations: 0 / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/1.149, allocations: 7.938 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.149, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.149, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001046/1.149, allocations: 142.1 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002077/1.149, allocations: 0.5254 MB / 1.023 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/1.149, allocations: 85 kB / 1.023 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.149, allocations: 3.906 kB / 1.023 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/1.149, allocations: 11.98 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/1.149, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/1.149, allocations: 8 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.135e-05/1.149, allocations: 101.7 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001525/1.151, allocations: 35.84 kB / 1.024 GB, free: 12.89 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 (3): * Single equations (assignments): 3 * 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.0001537/1.151, allocations: 107.2 kB / 1.024 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001094/1.151, allocations: 37.94 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.151, allocations: 0 / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/1.151, allocations: 11.16 kB / 1.024 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/1.151, allocations: 21.66 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/1.152, allocations: 109.5 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.152, allocations: 0.7071 MB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of SimCode: time 4.11e-07/1.152, allocations: 0 / 1.025 GB, free: 11.87 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)