Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.1/package.mo): time 2.306/2.306, allocations: 248.6 MB / 255.9 MB, free: 7.188 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.001674/0.001673, allocations: 185.2 kB / 315.1 MB, free: 4.266 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.937/1.937, allocations: 205.1 MB / 0.5658 GB, free: 360 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002354/0.002353, allocations: 82.77 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4933/0.4957, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.7366, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/1.486, allocations: 147.7 MB / 1.028 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/1.486, allocations: 94.62 kB / 1.028 GB, free: 8.566 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.1937/1.68, allocations: 34.49 MB / 1.062 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/1.68, allocations: 8 kB / 1.062 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07476/1.755, allocations: 3.837 MB / 1.065 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008586/1.764, allocations: 1.463 MB / 1.067 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.764, allocations: 20 kB / 1.067 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.765, allocations: 48 kB / 1.067 GB, free: 7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007988/1.773, allocations: 1.862 MB / 1.069 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009014/1.782, allocations: 1.866 MB / 1.07 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/1.782, allocations: 0 / 1.07 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/1.783, allocations: 0 / 1.07 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/1.783, allocations: 23.94 kB / 1.07 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02668/1.809, allocations: 8.163 MB / 1.078 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006652/1.816, allocations: 1.744 MB / 1.08 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003645/1.82, allocations: 1.497 MB / 1.082 GB, free: 11.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/1.82, allocations: 52.92 kB / 1.082 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.82, allocations: 35.16 kB / 1.082 GB, free: 11.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 4.078e-06/1.82, allocations: 0 / 1.082 GB, free: 11.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.02411/1.844, allocations: 5.471 MB / 1.087 GB, free: 7.141 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/1.844, allocations: 60.56 kB / 1.087 GB, free: 7.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/1.848, allocations: 1.051 MB / 1.088 GB, free: 6.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006852/1.848, allocations: 29.7 kB / 1.088 GB, free: 6.234 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/1.849, allocations: 324.2 kB / 1.088 GB, free: 5.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/1.85, allocations: 228.5 kB / 1.089 GB, free: 5.684 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.85, allocations: 3.938 kB / 1.089 GB, free: 5.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.85, allocations: 337.9 kB / 1.089 GB, free: 5.344 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00624/1.856, allocations: 2.168 MB / 1.091 GB, free: 3.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007964/1.864, allocations: 2.329 MB / 1.093 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03122/1.896, allocations: 4.101 MB / 1.097 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/1.896, allocations: 0 / 1.097 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.04083/1.937, allocations: 7.979 MB / 1.105 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.937, allocations: 95.62 kB / 1.105 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04391/1.981, allocations: 7.034 MB / 1.112 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06449/2.045, allocations: 4.999 MB / 1.117 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/2.059, allocations: 0.6944 MB / 1.118 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/2.08, allocations: 5.222 MB / 1.123 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01959/2.1, allocations: 0.8422 MB / 1.124 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009159/2.101, allocations: 63.92 kB / 1.124 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/2.101, allocations: 4 kB / 1.124 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03865/2.139, allocations: 7.177 MB / 1.131 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03479/2.174, allocations: 6.642 MB / 1.137 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008672/2.183, allocations: 0.9963 MB / 1.138 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02002/2.203, allocations: 0.9168 MB / 1.139 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/2.226, allocations: 6.71 MB / 1.146 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02005/2.247, allocations: 0.8384 MB / 1.146 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009459/2.248, allocations: 67.92 kB / 1.146 GB, free: 10.21 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.001006/2.249, allocations: 108.9 kB / 1.147 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000617/2.249, allocations: 102.7 kB / 1.147 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/2.271, allocations: 5.043 MB / 1.152 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/2.272, allocations: 8 kB / 1.152 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/2.272, allocations: 0 / 1.152 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/2.272, allocations: 11.88 kB / 1.152 GB, free: 4.914 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02898/2.301, allocations: 7.023 MB / 1.158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1206/2.421, allocations: 7.643 MB / 1.166 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006264/2.428, allocations: 367.6 kB / 1.166 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1091/2.537, allocations: 6.753 MB / 1.173 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003967/2.537, allocations: 35.95 kB / 1.173 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/2.552, allocations: 4.308 MB / 1.177 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/2.552, allocations: 7.906 kB / 1.177 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1245/2.677, allocations: 7.864 MB / 1.185 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1117/2.788, allocations: 8.251 MB / 1.193 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/2.791, allocations: 0.5501 MB / 1.193 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007056/2.791, allocations: 3.984 kB / 1.193 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01069/2.802, allocations: 0.5149 MB / 1.194 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/2.802, allocations: 44.59 kB / 1.194 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003044/2.803, allocations: 39.95 kB / 1.194 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.001965/2.805, allocations: 0.8049 MB / 1.195 GB, free: 8.305 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006208/2.811, allocations: 0.7837 MB / 1.196 GB, free: 7.52 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/2.812, allocations: 326.5 kB / 1.196 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02082/2.833, allocations: 6.048 MB / 1.202 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.833, allocations: 4 kB / 1.202 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006369/2.84, allocations: 1.551 MB / 1.203 GB, free: 15.57 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/2.842, allocations: 212.3 kB / 1.203 GB, free: 15.36 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/2.855, allocations: 2.915 MB / 1.206 GB, free: 12.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/2.858, allocations: 1.467 MB / 1.208 GB, free: 10.91 MB / 0.823 GB Notification: Performance of SimCode: time 1.813e-06/2.858, allocations: 0 / 1.208 GB, free: 10.91 MB / 0.823 GB