Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [: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.208/2.208, allocations: 253.1 MB / 260.4 MB, free: 7.586 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.00166/0.00166, allocations: 185.2 kB / 319.6 MB, free: 3.316 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 1.845/1.845, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001772/0.001772, allocations: 93.45 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.193e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.227, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6921/0.9191, allocations: 158.3 MB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.9195, allocations: 75.52 kB / 1.043 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.005697/0.9252, allocations: 1.305 MB / 1.044 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.9252, allocations: 4.188 kB / 1.044 GB, free: 10.87 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003773/0.9256, allocations: 318.4 kB / 1.044 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9257, allocations: 12.02 kB / 1.044 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.9257, allocations: 4 kB / 1.044 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.9259, allocations: 170 kB / 1.044 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/0.926, allocations: 29.7 kB / 1.044 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.926, allocations: 3.906 kB / 1.044 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.37e-05/0.9261, allocations: 5 kB / 1.044 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.9262, allocations: 33.69 kB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9262, allocations: 0 / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.9263, allocations: 1.031 kB / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.9263, allocations: 0 / 1.045 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.9265, allocations: 134.2 kB / 1.045 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.744e-05/0.9266, allocations: 33.83 kB / 1.045 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.9266, allocations: 8.797 kB / 1.045 GB, free: 10 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.9268, allocations: 93.19 kB / 1.045 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.9269, allocations: 38.45 kB / 1.045 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.9269, allocations: 0 / 1.045 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002185/0.9271, allocations: 47.88 kB / 1.045 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.9272, allocations: 55.41 kB / 1.045 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.439e-05/0.9273, allocations: 85 kB / 1.045 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.9273, allocations: 29.64 kB / 1.045 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.9274, allocations: 84.14 kB / 1.045 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.9274, allocations: 11.64 kB / 1.045 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.9274, allocations: 0 / 1.045 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9276, allocations: 314.8 kB / 1.045 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.9276, allocations: 11.94 kB / 1.045 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.9276, allocations: 0 / 1.045 GB, free: 9.184 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.9277, allocations: 14.86 kB / 1.045 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9277, allocations: 0 / 1.045 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001402/0.9279, allocations: 45.38 kB / 1.045 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.9279, allocations: 6.5 kB / 1.045 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9279, allocations: 0.625 kB / 1.045 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.9279, allocations: 0 / 1.045 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.9281, allocations: 4 kB / 1.045 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.9281, allocations: 0 / 1.045 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.046e-05/0.9282, allocations: 11.98 kB / 1.046 GB, free: 9.105 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.9282, allocations: 4.719 kB / 1.046 GB, free: 9.102 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 (3): * Single equations (assignments): 3 * 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.345e-05/0.9283, allocations: 101 kB / 1.046 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.9283, allocations: 4 kB / 1.046 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.9285, allocations: 53.19 kB / 1.046 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.9285, allocations: 3.984 kB / 1.046 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9285, allocations: 7.844 kB / 1.046 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9285, allocations: 0 / 1.046 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.9287, allocations: 129.8 kB / 1.046 GB, free: 8.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9287, allocations: 8 kB / 1.046 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.9288, allocations: 7.984 kB / 1.046 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.9288, allocations: 0 / 1.046 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.9288, allocations: 0 / 1.046 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9289, allocations: 0 / 1.046 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9289, allocations: 4 kB / 1.046 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001536/0.929, allocations: 71.59 kB / 1.046 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/0.9291, allocations: 81.09 kB / 1.046 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.9292, allocations: 7.906 kB / 1.046 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.9292, allocations: 4 kB / 1.046 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.9293, allocations: 480 / 1.046 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.9293, allocations: 3.375 kB / 1.046 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.898e-05/0.9293, allocations: 87.25 kB / 1.046 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002707/0.9296, allocations: 11.94 kB / 1.046 GB, free: 8.453 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 (3): * Single equations (assignments): 3 * 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.0002742/0.9299, allocations: 135.2 kB / 1.046 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.027e-05/0.93, allocations: 11.44 kB / 1.046 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.93, allocations: 8 kB / 1.046 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.9301, allocations: 11.5 kB / 1.046 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.9303, allocations: 7.938 kB / 1.046 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002723/0.9306, allocations: 59.89 kB / 1.046 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.9309, allocations: 0.691 MB / 1.047 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of SimCode: time 7.81e-07/0.9309, allocations: 0 / 1.047 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of Templates: time 0.00391/0.9348, allocations: 0.7214 MB / 1.048 GB, free: 6.773 MB / 0.6667 GB