Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [: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 1.987/1.987, allocations: 253.1 MB / 260.4 MB, free: 0.5938 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 187.5 kB / 319.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5704 GB, free: 25.9 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 93.52 kB / 0.6746 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.699e-05, allocations: 4 kB / 0.7843 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4972, allocations: 106.2 MB / 0.888 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.7079, allocations: 130.4 MB / 1.015 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.7082, allocations: 79.94 kB / 1.015 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.003497/0.7118, allocations: 0.5325 MB / 1.016 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.7118, allocations: 0 / 1.016 GB, free: 9.965 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003748/0.7122, allocations: 326.4 kB / 1.016 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.7123, allocations: 8.031 kB / 1.016 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.7123, allocations: 7.906 kB / 1.016 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.7125, allocations: 163.1 kB / 1.016 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.7125, allocations: 4 kB / 1.016 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.7125, allocations: 4 kB / 1.016 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.78e-05/0.7126, allocations: 7.906 kB / 1.016 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.7127, allocations: 37.58 kB / 1.017 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7127, allocations: 0 / 1.017 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.7127, allocations: 0 / 1.017 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7127, allocations: 0 / 1.017 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.7129, allocations: 134.2 kB / 1.017 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.713, allocations: 22.61 kB / 1.017 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.713, allocations: 8.922 kB / 1.017 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009878/0.714, allocations: 0.6013 MB / 1.017 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.7141, allocations: 34.56 kB / 1.017 GB, free: 8.344 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 2.925e-06/0.7141, allocations: 4 kB / 1.017 GB, free: 8.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.000217/0.7143, allocations: 41.55 kB / 1.017 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.7144, allocations: 51.41 kB / 1.017 GB, free: 8.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.985e-05/0.7145, allocations: 89 kB / 1.017 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.7145, allocations: 25.7 kB / 1.017 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.7146, allocations: 88.12 kB / 1.018 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.7146, allocations: 7.844 kB / 1.018 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.7146, allocations: 0 / 1.018 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.7147, allocations: 318.9 kB / 1.018 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.7148, allocations: 0 / 1.018 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.7148, allocations: 0 / 1.018 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.7148, allocations: 4 kB / 1.018 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7149, allocations: 0 / 1.018 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.715, allocations: 41.69 kB / 1.018 GB, free: 7.637 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.715, allocations: 8 kB / 1.018 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.715, allocations: 0 / 1.018 GB, free: 7.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.715, allocations: 3.906 kB / 1.018 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.7151, allocations: 12.03 kB / 1.018 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.7151, allocations: 3.938 kB / 1.018 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.7152, allocations: 0 / 1.018 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.7152, allocations: 0 / 1.018 GB, free: 7.609 MB / 0.6667 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 (2): * Single equations (assignments): 2 * 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.817e-05/0.7153, allocations: 101 kB / 1.018 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7153, allocations: 7.906 kB / 1.018 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.7155, allocations: 48.95 kB / 1.018 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.7155, allocations: 0 / 1.018 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7155, allocations: 4.031 kB / 1.018 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.7155, allocations: 0 / 1.018 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.7156, allocations: 138.2 kB / 1.018 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.7157, allocations: 0 / 1.018 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.7157, allocations: 4 kB / 1.018 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.7157, allocations: 0 / 1.018 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.7157, allocations: 3.906 kB / 1.018 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.7158, allocations: 0 / 1.018 GB, free: 7.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.7158, allocations: 3.938 kB / 1.018 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001259/0.7159, allocations: 69.12 kB / 1.018 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.716, allocations: 81.02 kB / 1.018 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.716, allocations: 192 / 1.018 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.635e-05/0.716, allocations: 0 / 1.018 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.716, allocations: 3.984 kB / 1.018 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.7161, allocations: 7.984 kB / 1.018 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.398e-05/0.7161, allocations: 75.28 kB / 1.018 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002942/0.7164, allocations: 20 kB / 1.019 GB, free: 6.969 MB / 0.6667 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 (2): * Single equations (assignments): 2 * 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.0002167/0.7166, allocations: 115.2 kB / 1.019 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.7167, allocations: 8 kB / 1.019 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7168, allocations: 3.938 kB / 1.019 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.7168, allocations: 4 kB / 1.019 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.717, allocations: 8 kB / 1.019 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.7172, allocations: 51.92 kB / 1.019 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.7176, allocations: 0.692 MB / 1.019 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of SimCode: time 9.51e-07/0.7176, allocations: 0 / 1.019 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of Templates: time 0.003529/0.7211, allocations: 0.5766 MB / 1.02 GB, free: 5.453 MB / 0.6667 GB