Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",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.369/2.369, allocations: 248.6 MB / 255.9 MB, free: 7.246 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.001617/0.001616, allocations: 185.2 kB / 315.1 MB, free: 4.301 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.189/2.189, allocations: 205.1 MB / 0.5658 GB, free: 484 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.00135/0.00135, allocations: 87.31 kB / 0.67 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5241/0.5255, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.7669, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7837/1.551, allocations: 173.7 MB / 1.053 GB, free: 0.957 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/1.551, allocations: 90.55 kB / 1.053 GB, free: 0.9062 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.239/1.79, allocations: 45.26 MB / 1.097 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.485e-05/1.79, allocations: 8 kB / 1.097 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03014/1.82, allocations: 1.259 MB / 1.099 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/1.823, allocations: 0.6149 MB / 1.099 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/1.823, allocations: 24 kB / 1.099 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/1.823, allocations: 43.84 kB / 1.099 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004363/1.828, allocations: 1.342 MB / 1.101 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004463/1.832, allocations: 1.375 MB / 1.102 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/1.832, allocations: 4 kB / 1.102 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/1.833, allocations: 0 / 1.102 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006126/1.833, allocations: 148 kB / 1.102 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/1.858, allocations: 6.526 MB / 1.108 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/1.861, allocations: 0.848 MB / 1.109 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/1.864, allocations: 0.5709 MB / 1.11 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0064/1.87, allocations: 1.478 MB / 1.111 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.576e-05/1.87, allocations: 50.5 kB / 1.111 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 5.811e-06/1.87, allocations: 0 / 1.111 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.03158/1.902, allocations: 4.183 MB / 1.115 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.964e-05/1.902, allocations: 90.05 kB / 1.116 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/1.903, allocations: 482 kB / 1.116 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003862/1.904, allocations: 29.7 kB / 1.116 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/1.904, allocations: 355.1 kB / 1.116 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000839/1.905, allocations: 354.7 kB / 1.117 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/1.905, allocations: 0 / 1.117 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003465/1.906, allocations: 390.8 kB / 1.117 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003204/1.909, allocations: 0.7562 MB / 1.118 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.913, allocations: 1.085 MB / 1.119 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/1.918, allocations: 1.018 MB / 1.12 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/1.918, allocations: 4 kB / 1.12 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01549/1.934, allocations: 2.941 MB / 1.123 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.003/1.937, allocations: 3.911 MB / 1.127 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-05/1.937, allocations: 11.94 kB / 1.127 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/1.948, allocations: 0.9592 MB / 1.127 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.952, allocations: 387.4 kB / 1.128 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/1.973, allocations: 8.37 MB / 1.136 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/1.978, allocations: 203.7 kB / 1.136 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000374/1.978, allocations: 63.95 kB / 1.136 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.978, allocations: 4 kB / 1.136 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01505/1.993, allocations: 2.336 MB / 1.139 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.846e-05/1.993, allocations: 12 kB / 1.139 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/1.997, allocations: 0.5658 MB / 1.139 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/2.002, allocations: 411.4 kB / 1.14 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/2.023, allocations: 8.091 MB / 1.147 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/2.028, allocations: 191.8 kB / 1.148 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003904/2.028, allocations: 63.97 kB / 1.148 GB, free: 7.941 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005491/2.029, allocations: 140.7 kB / 1.148 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/2.029, allocations: 79.06 kB / 1.148 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/2.044, allocations: 3.006 MB / 1.151 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/2.044, allocations: 8 kB / 1.151 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.818e-05/2.044, allocations: 8 kB / 1.151 GB, free: 4.668 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.348e-05/2.044, allocations: 7.969 kB / 1.151 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/2.066, allocations: 4.57 MB / 1.155 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/2.066, allocations: 12.03 kB / 1.155 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003896/2.07, allocations: 291.6 kB / 1.156 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00834/2.078, allocations: 1.026 MB / 1.157 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005109/2.079, allocations: 23.97 kB / 1.157 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02687/2.106, allocations: 9.707 MB / 1.166 GB, free: 4.434 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/2.106, allocations: 8 kB / 1.166 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01326/2.119, allocations: 3.116 MB / 1.169 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01297/2.132, allocations: 3.517 MB / 1.173 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/2.134, allocations: 339.9 kB / 1.173 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/2.134, allocations: 11.98 kB / 1.173 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004276/2.138, allocations: 227.6 kB / 1.173 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/2.139, allocations: 68.25 kB / 1.173 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/2.139, allocations: 44.53 kB / 1.173 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0007897/2.14, allocations: 362.9 kB / 1.174 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0049/2.145, allocations: 0.5116 MB / 1.174 GB, free: 11.74 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004267/2.145, allocations: 142.9 kB / 1.174 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01392/2.159, allocations: 3.903 MB / 1.178 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/2.159, allocations: 3.938 kB / 1.178 GB, free: 7.613 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/2.165, allocations: 1.533 MB / 1.18 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/2.166, allocations: 119.6 kB / 1.18 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/2.185, allocations: 2.625 MB / 1.182 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002064/2.187, allocations: 1.192 MB / 1.183 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of SimCode: time 2.004e-06/2.187, allocations: 0 / 1.183 GB, free: 1.98 MB / 0.7917 GB