Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, allocations: 248.6 MB / 255.9 MB, free: 7.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001661/0.001661, allocations: 184.2 kB / 315.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.1 MB / 0.5658 GB, free: 428 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001858/0.001858, allocations: 71.48 kB / 0.67 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4957/0.4976, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.7615, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.723/1.485, allocations: 141.5 MB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/1.485, allocations: 76.52 kB / 1.022 GB, free: 14.75 MB / 0.6511 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.2267/1.712, allocations: 28.58 MB / 1.05 GB, free: 6.73 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/1.712, allocations: 8 kB / 1.05 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/1.713, allocations: 138.3 kB / 1.05 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00784/1.721, allocations: 1.559 MB / 1.051 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/1.721, allocations: 12 kB / 1.051 GB, free: 5.309 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/1.721, allocations: 39.91 kB / 1.051 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001976/1.723, allocations: 0.6316 MB / 1.052 GB, free: 4.793 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/1.725, allocations: 0.621 MB / 1.053 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.725, allocations: 0 / 1.053 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/1.725, allocations: 4 kB / 1.053 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/1.725, allocations: 8 kB / 1.053 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007562/1.733, allocations: 2.604 MB / 1.055 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/1.735, allocations: 0.6508 MB / 1.056 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/1.737, allocations: 401.5 kB / 1.056 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/1.737, allocations: 40 kB / 1.056 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/1.737, allocations: 34.94 kB / 1.056 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=45): time 3.948e-06/1.737, allocations: 0 / 1.056 GB, free: 1.109 MB / 0.6667 GB Notification: Performance of matching and sorting (n=45): time 0.003214/1.74, allocations: 0.8974 MB / 1.057 GB, free: 376 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.74, allocations: 55.41 kB / 1.057 GB, free: 308 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/1.743, allocations: 0.9875 MB / 1.058 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002594/1.743, allocations: 25.7 kB / 1.058 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.744, allocations: 300.5 kB / 1.058 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/1.744, allocations: 170.9 kB / 1.059 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/1.744, allocations: 0 / 1.059 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.745, allocations: 351 kB / 1.059 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.746, allocations: 0.5374 MB / 1.059 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/1.748, allocations: 0.8587 MB / 1.06 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/1.75, allocations: 0.7563 MB / 1.061 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.75, allocations: 0 / 1.061 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005382/1.756, allocations: 1.704 MB / 1.063 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.756, allocations: 10.91 kB / 1.063 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.791e-05/1.756, allocations: 12 kB / 1.063 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/1.756, allocations: 44.2 kB / 1.063 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/1.759, allocations: 358.7 kB / 1.063 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/1.768, allocations: 6.981 MB / 1.07 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.77, allocations: 126.7 kB / 1.07 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/1.771, allocations: 67.34 kB / 1.07 GB, free: 4.305 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.000335/1.771, allocations: 130.4 kB / 1.07 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/1.771, allocations: 110.5 kB / 1.07 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/1.775, allocations: 1.078 MB / 1.071 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.775, allocations: 4 kB / 1.071 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.775, allocations: 0 / 1.071 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/1.775, allocations: 7.891 kB / 1.071 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/1.777, allocations: 0.8996 MB / 1.072 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.777, allocations: 0 / 1.072 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/1.779, allocations: 123.3 kB / 1.072 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002249/1.779, allocations: 28.22 kB / 1.072 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/1.779, allocations: 15.42 kB / 1.072 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/1.781, allocations: 1.309 MB / 1.074 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/1.781, allocations: 0 / 1.074 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004111/1.785, allocations: 1.557 MB / 1.075 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005544/1.79, allocations: 2.518 MB / 1.078 GB, free: 13.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.792, allocations: 363.4 kB / 1.078 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/1.792, allocations: 15.73 kB / 1.078 GB, free: 13.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.794, allocations: 35.86 kB / 1.078 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.794, allocations: 30.89 kB / 1.078 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/1.794, allocations: 35.48 kB / 1.078 GB, free: 13.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001637/1.796, allocations: 0.7123 MB / 1.079 GB, free: 12.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005028/1.801, allocations: 366 kB / 1.079 GB, free: 12.32 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.001385/1.802, allocations: 295.1 kB / 1.079 GB, free: 12.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006821/1.809, allocations: 1.503 MB / 1.081 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.809, allocations: 0 / 1.081 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.81, allocations: 460.6 kB / 1.081 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/1.812, allocations: 199.4 kB / 1.082 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006151/1.818, allocations: 2.115 MB / 1.084 GB, free: 8.363 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.82, allocations: 1.231 MB / 1.085 GB, free: 7.133 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/1.82, allocations: 0 / 1.085 GB, free: 7.133 MB / 0.698 GB