Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.42/1.42, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.0009801/0.0009801, allocations: 181.3 kB / 361.1 MB, free: 7.055 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.241/1.241, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.0008014/0.0008014, allocations: 91.98 kB / 0.7325 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2233/0.2242, allocations: 121.5 MB / 0.8512 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.7258, allocations: 115.3 MB / 0.9638 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.8879, allocations: 141 MB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.8883, allocations: 88.78 kB / 1.102 GB, free: 14.9 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.009212/0.8975, allocations: 3.325 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.8975, allocations: 8 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.8976, allocations: 11.81 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.8978, allocations: 209.6 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.8978, allocations: 4.891 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.8979, allocations: 4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.898, allocations: 37.59 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.8981, allocations: 69.67 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.8981, allocations: 4 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.8981, allocations: 0 / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.8982, allocations: 0 / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.8987, allocations: 370.1 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.8989, allocations: 42.56 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.8989, allocations: 12.86 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.8989, allocations: 1.125 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.8989, allocations: 38.62 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.899, allocations: 0 / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.000192/0.8991, allocations: 59.36 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.8992, allocations: 55.31 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.8993, allocations: 113.2 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8993, allocations: 29.7 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.8994, allocations: 103.9 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.135e-06/0.8994, allocations: 3.906 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.8994, allocations: 4 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8995, allocations: 318.8 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.8995, allocations: 15.92 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.8996, allocations: 8 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.8996, allocations: 11.98 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.8996, allocations: 3.938 kB / 1.106 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.8997, allocations: 65.72 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.8998, allocations: 96.91 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8998, allocations: 4 kB / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.857e-06/0.8998, allocations: 0 / 1.106 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.8999, allocations: 15.98 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.8999, allocations: 1.312 kB / 1.106 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.9, allocations: 15.98 kB / 1.106 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.9, allocations: 0 / 1.106 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/0.9, allocations: 5.406 kB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.962e-05/0.9001, allocations: 28.98 kB / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.22e-07/0.9001, allocations: 0 / 1.106 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.9001, allocations: 3.984 kB / 1.106 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.9002, allocations: 12 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-06/0.9002, allocations: 0 / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.9003, allocations: 19.89 kB / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.9003, allocations: 0 / 1.107 GB, free: 9.695 MB / 0.7136 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 7.038e-05/0.9004, allocations: 108.1 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.9004, allocations: 7.906 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.9005, allocations: 57.73 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9006, allocations: 0.9375 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9006, allocations: 5.625 kB / 1.107 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9006, allocations: 7.906 kB / 1.107 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.9007, allocations: 162.1 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.9007, allocations: 0 / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.9008, allocations: 15.98 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/0.9008, allocations: 0 / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.9008, allocations: 0 / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9009, allocations: 0 / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9009, allocations: 4 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.901, allocations: 152.1 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002205/0.9012, allocations: 0.5154 MB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.9013, allocations: 86.39 kB / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.9013, allocations: 0 / 1.108 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.463e-05/0.9014, allocations: 11.98 kB / 1.108 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.9014, allocations: 4 kB / 1.108 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.9014, allocations: 7.922 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.841e-05/0.9015, allocations: 97.62 kB / 1.108 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001352/0.9029, allocations: 48.78 kB / 1.108 GB, free: 8.32 MB / 0.7136 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.0001927/0.9031, allocations: 107 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/0.9032, allocations: 40.27 kB / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.9032, allocations: 0 / 1.108 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.369e-05/0.9032, allocations: 11.98 kB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.9034, allocations: 12.75 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.9037, allocations: 104.2 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.904, allocations: 0.7164 MB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.904, allocations: 0 / 1.109 GB, free: 7.281 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)