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_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [: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.25/2.25, allocations: 253.1 MB / 260.4 MB, free: 11.79 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.00235/0.002349, allocations: 178.5 kB / 319.6 MB, free: 2.27 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 2.032/2.032, allocations: 205.4 MB / 0.5704 GB, free: 8.246 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.001234/0.001233, allocations: 95.69 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.6e-05, allocations: 4 kB / 0.7843 GB, free: 5.426 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5661/0.5661, allocations: 106.3 MB / 0.888 GB, free: 64.57 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2547/0.8209, allocations: 130.4 MB / 1.015 GB, free: 9.879 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004086/0.8214, allocations: 76.84 kB / 1.015 GB, free: 9.805 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.006331/0.8277, allocations: 0.8451 MB / 1.016 GB, free: 8.969 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.8278, allocations: 4 kB / 1.016 GB, free: 8.965 MB / 0.6593 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.0006182/0.8284, allocations: 366.1 kB / 1.017 GB, free: 8.562 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 7.664e-05/0.8285, allocations: 12.03 kB / 1.017 GB, free: 8.551 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.8286, allocations: 7.906 kB / 1.017 GB, free: 8.543 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.8289, allocations: 189.5 kB / 1.017 GB, free: 8.32 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.8289, allocations: 0 / 1.017 GB, free: 8.32 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.829, allocations: 4 kB / 1.017 GB, free: 8.316 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002122/0.8292, allocations: 35.91 kB / 1.017 GB, free: 8.281 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.8295, allocations: 80.95 kB / 1.017 GB, free: 8.191 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.8295, allocations: 0 / 1.017 GB, free: 8.191 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8296, allocations: 0 / 1.017 GB, free: 8.191 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.8296, allocations: 4 kB / 1.017 GB, free: 8.188 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.8307, allocations: 425.1 kB / 1.017 GB, free: 7.73 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.8309, allocations: 37.22 kB / 1.017 GB, free: 7.676 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/0.831, allocations: 13.78 kB / 1.017 GB, free: 7.656 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.8311, allocations: 4.094 kB / 1.017 GB, free: 7.652 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.8311, allocations: 34.5 kB / 1.017 GB, free: 7.609 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=2): time 4.087e-06/0.8312, allocations: 0 / 1.017 GB, free: 7.609 MB / 0.6593 GB Notification: Performance of matching and sorting (n=2): time 0.0003051/0.8315, allocations: 45.61 kB / 1.018 GB, free: 7.559 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.8316, allocations: 85.16 kB / 1.018 GB, free: 7.457 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.8318, allocations: 125.9 kB / 1.018 GB, free: 7.324 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.8319, allocations: 29.64 kB / 1.018 GB, free: 7.289 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.832, allocations: 108 kB / 1.018 GB, free: 7.18 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.8321, allocations: 7.906 kB / 1.018 GB, free: 7.172 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.8321, allocations: 0 / 1.018 GB, free: 7.172 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.8323, allocations: 314.8 kB / 1.018 GB, free: 6.855 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.075e-05/0.8324, allocations: 8 kB / 1.018 GB, free: 6.848 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.443e-05/0.8324, allocations: 21.7 kB / 1.018 GB, free: 6.82 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.926e-05/0.8325, allocations: 12.22 kB / 1.018 GB, free: 6.809 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.8326, allocations: 0 / 1.018 GB, free: 6.809 MB / 0.6593 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002174/0.8328, allocations: 57.55 kB / 1.018 GB, free: 6.746 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.8328, allocations: 7.984 kB / 1.018 GB, free: 6.738 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.8329, allocations: 3.938 kB / 1.018 GB, free: 6.734 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.8329, allocations: 4 kB / 1.018 GB, free: 6.73 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.8331, allocations: 11.97 kB / 1.018 GB, free: 6.719 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8331, allocations: 0 / 1.018 GB, free: 6.719 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.213e-05/0.8332, allocations: 6.406 kB / 1.018 GB, free: 6.715 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.8332, allocations: 4 kB / 1.018 GB, free: 6.711 MB / 0.6593 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 0.0001138/0.8334, allocations: 101 kB / 1.018 GB, free: 6.605 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.8335, allocations: 8 kB / 1.018 GB, free: 6.598 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.993e-05/0.8336, allocations: 23.52 kB / 1.018 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8336, allocations: 0 / 1.018 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8336, allocations: 0 / 1.018 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.8336, allocations: 7.906 kB / 1.018 GB, free: 6.566 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008427/0.8345, allocations: 443.4 kB / 1.019 GB, free: 6.082 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.8345, allocations: 0 / 1.019 GB, free: 6.082 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.8346, allocations: 11.91 kB / 1.019 GB, free: 6.07 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.8347, allocations: 0 / 1.019 GB, free: 6.07 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.8347, allocations: 4 kB / 1.019 GB, free: 6.066 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.8347, allocations: 0 / 1.019 GB, free: 6.066 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8348, allocations: 0 / 1.019 GB, free: 6.066 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002081/0.835, allocations: 95.61 kB / 1.019 GB, free: 5.945 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.8351, allocations: 85.02 kB / 1.019 GB, free: 5.844 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.8352, allocations: 0 / 1.019 GB, free: 5.844 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.8352, allocations: 0 / 1.019 GB, free: 5.844 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.8353, allocations: 7.906 kB / 1.019 GB, free: 5.836 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.8353, allocations: 8.031 kB / 1.019 GB, free: 5.828 MB / 0.6593 GB Notification: Performance of sort global known variables: time 0.0001503/0.8355, allocations: 102.2 kB / 1.019 GB, free: 5.73 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0004304/0.8359, allocations: 8 kB / 1.019 GB, free: 5.723 MB / 0.6593 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.0001999/0.8362, allocations: 103 kB / 1.019 GB, free: 5.617 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.8363, allocations: 12 kB / 1.019 GB, free: 5.605 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8364, allocations: 0 / 1.019 GB, free: 5.605 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 4.703e-05/0.8364, allocations: 15.92 kB / 1.019 GB, free: 5.59 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.8367, allocations: 16.09 kB / 1.019 GB, free: 5.574 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.8372, allocations: 112.1 kB / 1.019 GB, free: 5.441 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.8377, allocations: 0.7114 MB / 1.02 GB, free: 4.703 MB / 0.6593 GB Notification: Performance of SimCode: time 1.533e-06/0.8378, allocations: 0 / 1.02 GB, free: 4.703 MB / 0.6593 GB Notification: Performance of Templates: time 0.004805/0.8426, allocations: 370.8 kB / 1.02 GB, free: 4.348 MB / 0.6593 GB