Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [: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.367/2.367, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001629/0.001629, allocations: 185 kB / 319.6 MB, free: 3.32 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.117/2.117, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001314/0.001314, allocations: 93.62 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.314e-05/1.328e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2193, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6684/0.8877, allocations: 131.4 MB / 1.016 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.888, allocations: 68.02 kB / 1.016 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003898/0.8919, allocations: 0.8468 MB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.892, allocations: 4 kB / 1.017 GB, free: 6.137 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.0004142/0.8924, allocations: 363.4 kB / 1.018 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.8925, allocations: 8.031 kB / 1.018 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.8925, allocations: 15.91 kB / 1.018 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.8927, allocations: 189 kB / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8928, allocations: 0 / 1.018 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.8928, allocations: 4 kB / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001941/0.893, allocations: 36.34 kB / 1.018 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.8932, allocations: 80.2 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.8932, allocations: 0 / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8932, allocations: 0.8125 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.8933, allocations: 4 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.894, allocations: 415.4 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/0.8941, allocations: 42.62 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.8941, allocations: 12.97 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.8941, allocations: 4.062 kB / 1.018 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.8942, allocations: 38.58 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.8942, allocations: 0 / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001975/0.8944, allocations: 45.11 kB / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.8945, allocations: 81.11 kB / 1.019 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.8946, allocations: 125.5 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.8947, allocations: 25.7 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.8947, allocations: 103.2 kB / 1.019 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/0.8948, allocations: 6.594 kB / 1.019 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.8948, allocations: 4 kB / 1.019 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.8949, allocations: 322.7 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.895, allocations: 11.5 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.895, allocations: 16.41 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.8951, allocations: 6.938 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.8951, allocations: 4 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001377/0.8952, allocations: 55.66 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.8953, allocations: 6.188 kB / 1.019 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8953, allocations: 4.062 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8953, allocations: 0 / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8954, allocations: 20.66 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.8954, allocations: 224 / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.166e-05/0.8955, allocations: 3.938 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.8955, allocations: 7.938 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.385e-05/0.8956, allocations: 107.4 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.8957, allocations: 7.906 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.8957, allocations: 10.55 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.8957, allocations: 12.08 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.8958, allocations: 4 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.8958, allocations: 3.906 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.8963, allocations: 450.3 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8963, allocations: 0 / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.8964, allocations: 7.906 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8964, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.8964, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.8964, allocations: 8.062 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8964, allocations: 3.984 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001265/0.8966, allocations: 87.31 kB / 1.02 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.8966, allocations: 85 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.8967, allocations: 4 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.8967, allocations: 4.031 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.8967, allocations: 3.906 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.8968, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.57e-05/0.8969, allocations: 106.3 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002775/0.8972, allocations: 8 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001903/0.8974, allocations: 95.25 kB / 1.02 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.8975, allocations: 15.31 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.8975, allocations: 4.125 kB / 1.02 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.8975, allocations: 11.38 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.8977, allocations: 7.906 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.8981, allocations: 115 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.8984, allocations: 0.7075 MB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/0.8985, allocations: 4.125 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of Templates: time 0.003106/0.9016, allocations: 376.2 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB