Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.492/2.492, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.001613/0.001612, allocations: 180.2 kB / 315.1 MB, free: 4.246 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.205/2.205, allocations: 205.1 MB / 0.5658 GB, free: 284 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.002048/0.002048, allocations: 84.81 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5044/0.5065, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.7223, allocations: 106.3 MB / 0.8835 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7692/1.492, allocations: 155 MB / 1.035 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005269/1.492, allocations: 91.88 kB / 1.035 GB, free: 2.711 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.1987/1.691, allocations: 37.18 MB / 1.071 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/1.691, allocations: 16 kB / 1.071 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/1.694, allocations: 226 kB / 1.072 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/1.696, allocations: 0.5287 MB / 1.072 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/1.696, allocations: 20 kB / 1.072 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/1.696, allocations: 43.23 kB / 1.072 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001954/1.698, allocations: 0.5631 MB / 1.073 GB, free: 2.371 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/1.701, allocations: 1.012 MB / 1.074 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-05/1.701, allocations: 4 kB / 1.074 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.701, allocations: 4 kB / 1.074 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/1.701, allocations: 64.52 kB / 1.074 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/1.712, allocations: 5.665 MB / 1.079 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.713, allocations: 396 kB / 1.08 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/1.714, allocations: 302.8 kB / 1.08 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/1.714, allocations: 4 kB / 1.08 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.714, allocations: 41.88 kB / 1.08 GB, free: 11.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.427e-06/1.714, allocations: 0 / 1.08 GB, free: 11.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.004094/1.718, allocations: 1.136 MB / 1.081 GB, free: 10.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/1.718, allocations: 55.41 kB / 1.081 GB, free: 10.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/1.719, allocations: 320.6 kB / 1.081 GB, free: 10.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.711e-05/1.719, allocations: 25.7 kB / 1.081 GB, free: 10.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/1.719, allocations: 328.5 kB / 1.082 GB, free: 9.719 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/1.72, allocations: 147.3 kB / 1.082 GB, free: 9.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/1.72, allocations: 0 / 1.082 GB, free: 9.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001841/1.72, allocations: 367.3 kB / 1.082 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/1.72, allocations: 224.7 kB / 1.082 GB, free: 9.105 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/1.721, allocations: 408.2 kB / 1.083 GB, free: 8.711 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/1.722, allocations: 293.9 kB / 1.083 GB, free: 8.512 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.722, allocations: 0 / 1.083 GB, free: 8.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003251/1.725, allocations: 0.9095 MB / 1.084 GB, free: 7.785 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/1.725, allocations: 4 kB / 1.084 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/1.725, allocations: 8 kB / 1.084 GB, free: 7.773 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.727, allocations: 280.3 kB / 1.084 GB, free: 7.539 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/1.728, allocations: 87.83 kB / 1.084 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/1.739, allocations: 6.222 MB / 1.09 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.741, allocations: 15.98 kB / 1.09 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.741, allocations: 23.56 kB / 1.09 GB, free: 1.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/1.741, allocations: 112.9 kB / 1.091 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/1.742, allocations: 55.34 kB / 1.091 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/1.746, allocations: 0.8225 MB / 1.091 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.722e-05/1.746, allocations: 4.094 kB / 1.091 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/1.746, allocations: 11.92 kB / 1.091 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.746, allocations: 4 kB / 1.091 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007147/1.754, allocations: 1.524 MB / 1.093 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/1.754, allocations: 0 / 1.093 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/1.754, allocations: 43.92 kB / 1.093 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.756, allocations: 270.6 kB / 1.093 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/1.756, allocations: 0 / 1.093 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/1.766, allocations: 6.209 MB / 1.099 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/1.767, allocations: 4.391 kB / 1.099 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003631/1.77, allocations: 0.9919 MB / 1.1 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00359/1.774, allocations: 1.369 MB / 1.102 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/1.774, allocations: 165.2 kB / 1.102 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.775, allocations: 8 kB / 1.102 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/1.775, allocations: 7.984 kB / 1.102 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.334e-05/1.775, allocations: 27.25 kB / 1.102 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/1.775, allocations: 10.88 kB / 1.102 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0004484/1.776, allocations: 245.5 kB / 1.102 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002032/1.778, allocations: 160 kB / 1.102 GB, free: 6.105 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/1.778, allocations: 123.7 kB / 1.102 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003274/1.781, allocations: 1.062 MB / 1.103 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.781, allocations: 0 / 1.103 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/1.784, allocations: 0.7544 MB / 1.104 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.786, allocations: 158.3 kB / 1.104 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/1.789, allocations: 0.9146 MB / 1.105 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.79, allocations: 1.016 MB / 1.106 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/1.79, allocations: 4 kB / 1.106 GB, free: 2.16 MB / 0.7136 GB