Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [: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.094/2.094, allocations: 253.1 MB / 260.4 MB, free: 7.434 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.001655/0.001655, allocations: 181.2 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.009/2.009, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001274/0.001273, allocations: 82.17 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.087e-05/1.14e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.622/0.845, allocations: 141.4 MB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.8453, allocations: 81.69 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1825/1.028, allocations: 27.36 MB / 1.053 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001506/1.028, allocations: 35.92 kB / 1.053 GB, free: 6.188 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.004083/1.032, allocations: 1.175 MB / 1.054 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.032, allocations: 12.03 kB / 1.054 GB, free: 5.023 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/1.033, allocations: 138.3 kB / 1.054 GB, free: 4.887 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007158/1.04, allocations: 1.553 MB / 1.056 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.04, allocations: 12 kB / 1.056 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.041, allocations: 42.66 kB / 1.056 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00183/1.042, allocations: 0.6304 MB / 1.056 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/1.044, allocations: 0.6179 MB / 1.057 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/1.044, allocations: 4 kB / 1.057 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/1.044, allocations: 0 / 1.057 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.044, allocations: 8 kB / 1.057 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006867/1.051, allocations: 2.609 MB / 1.06 GB, free: 304 kB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/1.053, allocations: 0.6619 MB / 1.06 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/1.054, allocations: 400.7 kB / 1.061 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/1.055, allocations: 24.27 kB / 1.061 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.055, allocations: 42.73 kB / 1.061 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=45): time 2.815e-06/1.055, allocations: 0 / 1.061 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00297/1.058, allocations: 0.8942 MB / 1.062 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/1.058, allocations: 63.41 kB / 1.062 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/1.06, allocations: 0.9823 MB / 1.063 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/1.061, allocations: 25.7 kB / 1.063 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/1.061, allocations: 297.9 kB / 1.063 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003931/1.061, allocations: 168.5 kB / 1.063 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/1.061, allocations: 0 / 1.063 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.062, allocations: 349.1 kB / 1.063 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/1.063, allocations: 0.5417 MB / 1.064 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/1.065, allocations: 0.8605 MB / 1.065 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.067, allocations: 0.7558 MB / 1.066 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/1.067, allocations: 4 kB / 1.066 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005243/1.072, allocations: 1.698 MB / 1.067 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.072, allocations: 4 kB / 1.067 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.542e-05/1.073, allocations: 12.78 kB / 1.067 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/1.073, allocations: 52.64 kB / 1.067 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/1.076, allocations: 354.5 kB / 1.068 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007507/1.084, allocations: 6.99 MB / 1.074 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.086, allocations: 126.6 kB / 1.075 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.087, allocations: 59.31 kB / 1.075 GB, free: 2.613 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002825/1.087, allocations: 140.5 kB / 1.075 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/1.087, allocations: 114.5 kB / 1.075 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003456/1.091, allocations: 1.06 MB / 1.076 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.091, allocations: 4 kB / 1.076 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.091, allocations: 0 / 1.076 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/1.091, allocations: 11.89 kB / 1.076 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/1.093, allocations: 0.8981 MB / 1.077 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.093, allocations: 0 / 1.077 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/1.095, allocations: 115 kB / 1.077 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/1.095, allocations: 35.64 kB / 1.077 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.095, allocations: 15.98 kB / 1.077 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/1.097, allocations: 1.302 MB / 1.078 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.097, allocations: 4.156 kB / 1.078 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004194/1.101, allocations: 1.558 MB / 1.08 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.102, allocations: 361 kB / 1.08 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/1.102, allocations: 11.73 kB / 1.08 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.104, allocations: 39.86 kB / 1.08 GB, free: 13.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.105, allocations: 27.45 kB / 1.08 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/1.105, allocations: 39.17 kB / 1.08 GB, free: 13.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.00175/1.107, allocations: 0.7141 MB / 1.081 GB, free: 13.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002085/1.109, allocations: 359.3 kB / 1.081 GB, free: 12.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/1.11, allocations: 301.9 kB / 1.081 GB, free: 12.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005154/1.116, allocations: 1.506 MB / 1.083 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.116, allocations: 0 / 1.083 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.117, allocations: 464.8 kB / 1.083 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.119, allocations: 198.2 kB / 1.084 GB, free: 10.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/1.125, allocations: 2.097 MB / 1.086 GB, free: 8.715 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/1.127, allocations: 1.2 MB / 1.087 GB, free: 7.516 MB / 0.698 GB Notification: Performance of SimCode: time 1.483e-06/1.127, allocations: 0 / 1.087 GB, free: 7.516 MB / 0.698 GB Notification: Performance of Templates: time 0.0417/1.168, allocations: 12.63 MB / 1.099 GB, free: 11.07 MB / 0.7136 GB