Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density") [: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.252/2.252, allocations: 253.1 MB / 260.4 MB, free: 0.5859 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.001601/0.0016, allocations: 196.1 kB / 319.6 MB, free: 7.688 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.071/2.071, allocations: 205.4 MB / 0.5704 GB, free: 25.63 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.001309/0.001309, allocations: 93.78 kB / 0.6746 GB, free: 3.094 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.763e-05/1.797e-05, allocations: 4 kB / 0.7843 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5504, allocations: 106.2 MB / 0.888 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.786/6.336, allocations: 2.197 GB / 3.085 GB, free: 232.3 MB / 0.8699 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/6.337, allocations: 88.41 kB / 3.085 GB, free: 232.3 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.044/8.381, allocations: 470.1 MB / 3.544 GB, free: 142.2 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 8.648e-05/8.381, allocations: 23.75 kB / 3.544 GB, free: 142.2 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002942/8.384, allocations: 1.043 MB / 3.546 GB, free: 141.1 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/8.384, allocations: 8.031 kB / 3.546 GB, free: 141.1 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/8.388, allocations: 286.7 kB / 3.546 GB, free: 140.8 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/8.39, allocations: 0.6367 MB / 3.546 GB, free: 140.1 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/8.39, allocations: 20 kB / 3.546 GB, free: 140.1 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/8.39, allocations: 35.91 kB / 3.546 GB, free: 140.1 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001543/8.392, allocations: 0.4907 MB / 3.547 GB, free: 139.6 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/8.393, allocations: 0.5557 MB / 3.547 GB, free: 139 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/8.394, allocations: 7.938 kB / 3.547 GB, free: 139 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/8.394, allocations: 0 / 3.547 GB, free: 139 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/8.394, allocations: 17.31 kB / 3.548 GB, free: 139 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005314/8.399, allocations: 2.473 MB / 3.55 GB, free: 136.4 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/8.4, allocations: 385.1 kB / 3.55 GB, free: 136 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/8.401, allocations: 236.8 kB / 3.551 GB, free: 135.8 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009038/8.402, allocations: 477.9 kB / 3.551 GB, free: 135.2 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/8.402, allocations: 38.47 kB / 3.551 GB, free: 135.2 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=41): time 3.196e-06/8.402, allocations: 0 / 3.551 GB, free: 135.2 MB / 0.8699 GB Notification: Performance of matching and sorting (n=41): time 0.002311/8.404, allocations: 488.8 kB / 3.551 GB, free: 134.7 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/8.404, allocations: 55.41 kB / 3.552 GB, free: 134.6 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/8.405, allocations: 365.3 kB / 3.552 GB, free: 134.2 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/8.405, allocations: 25.7 kB / 3.552 GB, free: 134.2 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/8.405, allocations: 252.3 kB / 3.552 GB, free: 134 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/8.405, allocations: 141.9 kB / 3.552 GB, free: 133.8 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/8.405, allocations: 0 / 3.552 GB, free: 133.8 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001114/8.405, allocations: 370.7 kB / 3.553 GB, free: 133.4 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/8.406, allocations: 136.8 kB / 3.553 GB, free: 133.3 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/8.406, allocations: 256.3 kB / 3.553 GB, free: 133 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/8.407, allocations: 212.4 kB / 3.553 GB, free: 132.8 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/8.407, allocations: 4 kB / 3.553 GB, free: 132.8 MB / 0.8699 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001391/8.408, allocations: 476.7 kB / 3.554 GB, free: 132.3 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/8.408, allocations: 0.8774 MB / 3.555 GB, free: 131.4 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/8.408, allocations: 4 kB / 3.555 GB, free: 131.4 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/8.408, allocations: 4 kB / 3.555 GB, free: 131.4 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/8.41, allocations: 115.8 kB / 3.555 GB, free: 131.3 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/8.41, allocations: 0.6093 MB / 3.555 GB, free: 130.6 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.412, allocations: 67.64 kB / 3.555 GB, free: 130.6 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/8.412, allocations: 16 kB / 3.555 GB, free: 130.6 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/8.412, allocations: 8 kB / 3.555 GB, free: 130.5 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/8.413, allocations: 399.5 kB / 3.556 GB, free: 130.2 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/8.413, allocations: 4 kB / 3.556 GB, free: 130.2 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/8.413, allocations: 4 kB / 3.556 GB, free: 130.1 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008288/8.414, allocations: 104.2 kB / 3.556 GB, free: 130 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/8.414, allocations: 7.938 kB / 3.556 GB, free: 130 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/8.415, allocations: 63.64 kB / 3.556 GB, free: 130 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/8.415, allocations: 23.98 kB / 3.556 GB, free: 130 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002086/8.415, allocations: 112.8 kB / 3.556 GB, free: 129.8 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/8.416, allocations: 55.34 kB / 3.556 GB, free: 129.8 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/8.417, allocations: 450.2 kB / 3.556 GB, free: 129.3 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/8.417, allocations: 4 kB / 3.556 GB, free: 129.3 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/8.417, allocations: 0 / 3.556 GB, free: 129.3 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/8.418, allocations: 0.6833 MB / 3.557 GB, free: 128.6 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003054/8.421, allocations: 1.203 MB / 3.558 GB, free: 127.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/8.421, allocations: 4 kB / 3.558 GB, free: 127.3 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/8.422, allocations: 116.1 kB / 3.558 GB, free: 127.2 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/8.422, allocations: 8 kB / 3.558 GB, free: 127.2 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/8.422, allocations: 4 kB / 3.558 GB, free: 127.2 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003222/8.423, allocations: 0.5977 MB / 3.559 GB, free: 126.5 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/8.423, allocations: 3.938 kB / 3.559 GB, free: 126.5 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001782/8.425, allocations: 0.8984 MB / 3.56 GB, free: 125.5 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004984/8.425, allocations: 180.3 kB / 3.56 GB, free: 125.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/8.425, allocations: 8 kB / 3.56 GB, free: 125.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/8.426, allocations: 51.86 kB / 3.56 GB, free: 125.3 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/8.426, allocations: 27.95 kB / 3.56 GB, free: 125.3 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/8.427, allocations: 16 kB / 3.56 GB, free: 125.2 MB / 0.8699 GB Notification: Performance of sort global known variables: time 0.0004799/8.427, allocations: 286.9 kB / 3.56 GB, free: 125 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.001905/8.429, allocations: 451 kB / 3.561 GB, free: 124.5 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002572/8.432, allocations: 1.562 MB / 3.562 GB, free: 123.1 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.002125/8.434, allocations: 0.5965 MB / 3.563 GB, free: 122.5 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/8.434, allocations: 0 / 3.563 GB, free: 122.5 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0006116/8.434, allocations: 205.7 kB / 3.563 GB, free: 122.3 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/8.438, allocations: 303.9 kB / 3.563 GB, free: 122 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/8.441, allocations: 1.103 MB / 3.565 GB, free: 120.8 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008544/8.442, allocations: 1.019 MB / 3.566 GB, free: 119.8 MB / 0.8699 GB Notification: Performance of SimCode: time 1.523e-06/8.442, allocations: 0 / 3.566 GB, free: 119.8 MB / 0.8699 GB Notification: Performance of Templates: time 0.05135/8.493, allocations: 20.58 MB / 3.586 GB, free: 99.41 MB / 0.8699 GB