Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.551/2.551, allocations: 248.6 MB / 255.9 MB, free: 376 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001912/0.001911, allocations: 176.5 kB / 315.1 MB, free: 7.797 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.429/2.429, allocations: 205.1 MB / 0.5658 GB, free: 25.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 94.03 kB / 0.67 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3208/0.3227, allocations: 112.4 MB / 0.7797 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5555/0.8782, allocations: 106.2 MB / 0.8835 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6998/1.578, allocations: 159.8 MB / 1.04 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.579, allocations: 90.73 kB / 1.04 GB, free: 60.87 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0847/1.663, allocations: 17.91 MB / 1.057 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.663, allocations: 7.812 kB / 1.057 GB, free: 59.03 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/1.665, allocations: 107.6 kB / 1.057 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/1.665, allocations: 250.2 kB / 1.058 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/1.665, allocations: 3.906 kB / 1.058 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/1.665, allocations: 11.72 kB / 1.058 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007253/1.666, allocations: 269.2 kB / 1.058 GB, free: 58.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/1.667, allocations: 342.8 kB / 1.058 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/1.667, allocations: 3.938 kB / 1.058 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/1.667, allocations: 0 / 1.058 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/1.667, allocations: 22.75 kB / 1.058 GB, free: 58.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/1.67, allocations: 1.677 MB / 1.06 GB, free: 57.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/1.67, allocations: 284.7 kB / 1.06 GB, free: 57.42 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/1.671, allocations: 181.5 kB / 1.06 GB, free: 57.39 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/1.671, allocations: 92.56 kB / 1.06 GB, free: 57.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/1.671, allocations: 34.06 kB / 1.06 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 2.946e-06/1.671, allocations: 0 / 1.06 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.005263/1.676, allocations: 1.097 MB / 1.061 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/1.676, allocations: 80.98 kB / 1.061 GB, free: 57.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/1.677, allocations: 154.2 kB / 1.062 GB, free: 56.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/1.677, allocations: 25.7 kB / 1.062 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.395e-05/1.677, allocations: 145.5 kB / 1.062 GB, free: 56.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/1.677, allocations: 111.8 kB / 1.062 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/1.677, allocations: 0 / 1.062 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/1.677, allocations: 340.7 kB / 1.062 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/1.678, allocations: 219.1 kB / 1.062 GB, free: 56.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/1.678, allocations: 311.8 kB / 1.063 GB, free: 56.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.679, allocations: 306.9 kB / 1.063 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.679, allocations: 0 / 1.063 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001906/1.681, allocations: 0.6139 MB / 1.064 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000199/1.682, allocations: 0.8711 MB / 1.064 GB, free: 55.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.682, allocations: 3.906 kB / 1.064 GB, free: 55.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/1.682, allocations: 7.906 kB / 1.064 GB, free: 55.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.684, allocations: 155.3 kB / 1.065 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.684, allocations: 6.859 kB / 1.065 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/1.684, allocations: 36.3 kB / 1.065 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/1.685, allocations: 18.77 kB / 1.065 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.685, allocations: 3.906 kB / 1.065 GB, free: 55.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001561/1.686, allocations: 469.4 kB / 1.065 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.686, allocations: 7.812 kB / 1.065 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.686, allocations: 3.906 kB / 1.065 GB, free: 55.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/1.688, allocations: 135.7 kB / 1.065 GB, free: 55.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.688, allocations: 3.938 kB / 1.065 GB, free: 55.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/1.689, allocations: 26.69 kB / 1.065 GB, free: 55.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.689, allocations: 22.58 kB / 1.065 GB, free: 55.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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 0.0001776/1.689, allocations: 112.8 kB / 1.065 GB, free: 55.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.689, allocations: 23.44 kB / 1.065 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/1.692, allocations: 0.653 MB / 1.066 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.692, allocations: 7.203 kB / 1.066 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.692, allocations: 0 / 1.066 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.692, allocations: 0 / 1.066 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.695, allocations: 1.288 MB / 1.067 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/1.695, allocations: 3.906 kB / 1.067 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/1.697, allocations: 123.8 kB / 1.067 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.982e-05/1.697, allocations: 3.906 kB / 1.067 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/1.697, allocations: 7.969 kB / 1.067 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-05/1.697, allocations: 7.547 kB / 1.068 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/1.697, allocations: 3.938 kB / 1.068 GB, free: 54.54 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002205/1.699, allocations: 0.7781 MB / 1.068 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002235/1.702, allocations: 1.156 MB / 1.069 GB, free: 53.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/1.702, allocations: 141.2 kB / 1.07 GB, free: 53.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.702, allocations: 4.984 kB / 1.07 GB, free: 53.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009188/1.703, allocations: 37.28 kB / 1.07 GB, free: 53.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.703, allocations: 23.81 kB / 1.07 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.816e-05/1.703, allocations: 16.41 kB / 1.07 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00022/1.704, allocations: 132.9 kB / 1.07 GB, free: 53.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00441/1.708, allocations: 159.6 kB / 1.07 GB, free: 53.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.0004599/1.708, allocations: 140.9 kB / 1.07 GB, free: 53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002341/1.711, allocations: 0.7108 MB / 1.071 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.711, allocations: 0 / 1.071 GB, free: 52.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005702/1.711, allocations: 239 kB / 1.071 GB, free: 52.96 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009533/1.712, allocations: 33.92 kB / 1.071 GB, free: 52.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/1.714, allocations: 0.5882 MB / 1.072 GB, free: 52.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/1.715, allocations: 0.833 MB / 1.072 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.012e-06/1.715, allocations: 3.938 kB / 1.072 GB, free: 52.05 MB / 0.6823 GB