Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.027/2.027, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 180.7 kB / 319.6 MB, free: 2.301 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.5704 GB, free: 8.266 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 94.34 kB / 0.6746 GB, free: 21.83 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 9.317e-06/9.538e-06, allocations: 0 / 0.7843 GB, free: 5.43 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5452, allocations: 106.3 MB / 0.8881 GB, free: 64.56 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.7938, allocations: 138.7 MB / 1.024 GB, free: 1.508 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/0.7942, allocations: 95.92 kB / 1.024 GB, free: 1.414 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.07693/0.8712, allocations: 15.6 MB / 1.039 GB, free: 1.742 MB / 0.6749 GB Notification: Performance of Transformations before backend: time 3.429e-05/0.8713, allocations: 8 kB / 1.039 GB, free: 1.734 MB / 0.6749 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.00154/0.8728, allocations: 0.6538 MB / 1.04 GB, free: 1.035 MB / 0.6749 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8729, allocations: 8.031 kB / 1.04 GB, free: 1.027 MB / 0.6749 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05682/0.9297, allocations: 2.665 MB / 1.042 GB, free: 14.36 MB / 0.6905 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.9318, allocations: 0.6003 MB / 1.043 GB, free: 13.72 MB / 0.6905 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.9318, allocations: 8 kB / 1.043 GB, free: 13.71 MB / 0.6905 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.9322, allocations: 16 kB / 1.043 GB, free: 13.7 MB / 0.6905 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/0.9336, allocations: 493 kB / 1.043 GB, free: 13.21 MB / 0.6905 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.935, allocations: 0.5194 MB / 1.044 GB, free: 12.68 MB / 0.6905 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.935, allocations: 3.938 kB / 1.044 GB, free: 12.68 MB / 0.6905 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.9351, allocations: 3.938 kB / 1.044 GB, free: 12.68 MB / 0.6905 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.9352, allocations: 11.91 kB / 1.044 GB, free: 12.66 MB / 0.6905 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.9421, allocations: 2.943 MB / 1.047 GB, free: 9.359 MB / 0.6905 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.9433, allocations: 474.5 kB / 1.047 GB, free: 8.883 MB / 0.6905 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/0.9442, allocations: 325 kB / 1.047 GB, free: 8.562 MB / 0.6905 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000175/0.9444, allocations: 47.97 kB / 1.047 GB, free: 8.516 MB / 0.6905 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.9444, allocations: 34.56 kB / 1.047 GB, free: 8.473 MB / 0.6905 GB Notification: Performance of pre-optimization done (n=22): time 3.426e-06/0.9444, allocations: 0 / 1.047 GB, free: 8.473 MB / 0.6905 GB Notification: Performance of matching and sorting (n=22): time 0.01124/0.9557, allocations: 1.386 MB / 1.049 GB, free: 7.082 MB / 0.6905 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.9558, allocations: 55.41 kB / 1.049 GB, free: 7.016 MB / 0.6905 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.9562, allocations: 239.5 kB / 1.049 GB, free: 6.781 MB / 0.6905 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/0.9565, allocations: 25.7 kB / 1.049 GB, free: 6.75 MB / 0.6905 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.9569, allocations: 172.2 kB / 1.049 GB, free: 6.578 MB / 0.6905 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.9571, allocations: 74.84 kB / 1.049 GB, free: 6.504 MB / 0.6905 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.9573, allocations: 3.938 kB / 1.049 GB, free: 6.5 MB / 0.6905 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.9576, allocations: 346.8 kB / 1.05 GB, free: 6.152 MB / 0.6905 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.9602, allocations: 0.8438 MB / 1.051 GB, free: 5.309 MB / 0.6905 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.9631, allocations: 0.9004 MB / 1.051 GB, free: 4.387 MB / 0.6905 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02166/0.9848, allocations: 2.225 MB / 1.054 GB, free: 2.16 MB / 0.6905 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.9849, allocations: 4 kB / 1.054 GB, free: 2.156 MB / 0.6905 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.02594/1.011, allocations: 3.304 MB / 1.057 GB, free: 14.84 MB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/1.011, allocations: 98.55 kB / 1.057 GB, free: 14.74 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02352/1.035, allocations: 2.882 MB / 1.06 GB, free: 11.86 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/1.035, allocations: 8 kB / 1.06 GB, free: 11.85 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/1.047, allocations: 0.5969 MB / 1.06 GB, free: 11.25 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.047, allocations: 4 kB / 1.06 GB, free: 11.25 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01157/1.059, allocations: 0.4914 MB / 1.061 GB, free: 10.75 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004281/1.059, allocations: 51.92 kB / 1.061 GB, free: 10.7 MB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.059, allocations: 4 kB / 1.061 GB, free: 10.7 MB / 0.7062 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02583/1.085, allocations: 3.232 MB / 1.064 GB, free: 7.465 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02343/1.108, allocations: 2.878 MB / 1.067 GB, free: 4.586 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.109, allocations: 4 kB / 1.067 GB, free: 4.582 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01233/1.121, allocations: 0.6009 MB / 1.067 GB, free: 3.98 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/1.121, allocations: 4 kB / 1.067 GB, free: 3.977 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/1.133, allocations: 491.3 kB / 1.068 GB, free: 3.496 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004854/1.133, allocations: 55.92 kB / 1.068 GB, free: 3.441 MB / 0.7062 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.0003969/1.134, allocations: 104.9 kB / 1.068 GB, free: 3.332 MB / 0.7062 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/1.134, allocations: 39.56 kB / 1.068 GB, free: 3.297 MB / 0.7062 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00911/1.143, allocations: 1.406 MB / 1.069 GB, free: 1.883 MB / 0.7062 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.143, allocations: 4 kB / 1.069 GB, free: 1.879 MB / 0.7062 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.143, allocations: 3.906 kB / 1.069 GB, free: 1.875 MB / 0.7062 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/1.143, allocations: 3.984 kB / 1.069 GB, free: 1.871 MB / 0.7062 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/1.145, allocations: 0.8711 MB / 1.07 GB, free: 0.8789 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007217/1.152, allocations: 1.076 MB / 1.071 GB, free: 15.8 MB / 0.7218 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004696/1.157, allocations: 251.7 kB / 1.072 GB, free: 15.55 MB / 0.7218 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/1.157, allocations: 0 / 1.072 GB, free: 15.55 MB / 0.7218 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.157, allocations: 19.88 kB / 1.072 GB, free: 15.53 MB / 0.7218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.157, allocations: 8 kB / 1.072 GB, free: 15.52 MB / 0.7218 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.157, allocations: 0 / 1.072 GB, free: 15.52 MB / 0.7218 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007586/1.165, allocations: 1.206 MB / 1.073 GB, free: 14.3 MB / 0.7218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.165, allocations: 204.5 kB / 1.073 GB, free: 14.08 MB / 0.7218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/1.165, allocations: 3.906 kB / 1.073 GB, free: 14.08 MB / 0.7218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/1.17, allocations: 175.8 kB / 1.073 GB, free: 13.91 MB / 0.7218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/1.17, allocations: 23.97 kB / 1.073 GB, free: 13.88 MB / 0.7218 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.17, allocations: 23.91 kB / 1.073 GB, free: 13.86 MB / 0.7218 GB Notification: Performance of sort global known variables: time 0.0003079/1.17, allocations: 183.1 kB / 1.073 GB, free: 13.68 MB / 0.7218 GB Notification: Performance of remove unused functions: time 0.002079/1.172, allocations: 359.3 kB / 1.074 GB, free: 13.33 MB / 0.7218 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.0009173/1.173, allocations: 269.4 kB / 1.074 GB, free: 13.06 MB / 0.7218 GB Notification: Performance of simCode: created initialization part: time 0.006097/1.179, allocations: 1.98 MB / 1.076 GB, free: 11.05 MB / 0.7218 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.18, allocations: 0 / 1.076 GB, free: 11.05 MB / 0.7218 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.181, allocations: 407.7 kB / 1.076 GB, free: 10.64 MB / 0.7218 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/1.181, allocations: 45.14 kB / 1.076 GB, free: 10.6 MB / 0.7218 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/1.184, allocations: 0.7076 MB / 1.077 GB, free: 9.867 MB / 0.7218 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/1.187, allocations: 0.94 MB / 1.078 GB, free: 8.902 MB / 0.7218 GB Notification: Performance of SimCode: time 1.573e-06/1.187, allocations: 0 / 1.078 GB, free: 8.902 MB / 0.7218 GB Notification: Performance of Templates: time 0.5073/1.694, allocations: 42.72 MB / 1.12 GB, free: 166.4 MB / 0.753 GB