Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.391/2.391, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001708/0.001707, allocations: 189.2 kB / 315.1 MB, free: 4.281 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: 348 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.001368/0.001367, allocations: 102.9 kB / 0.67 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5164/0.5178, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.758, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8064/1.564, allocations: 152.2 MB / 1.032 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006127/1.565, allocations: 93.62 kB / 1.032 GB, free: 5.492 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.06093/1.626, allocations: 12.21 MB / 1.044 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.626, allocations: 8 kB / 1.044 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009588/1.627, allocations: 67.72 kB / 1.044 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/1.628, allocations: 231.7 kB / 1.044 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.628, allocations: 4 kB / 1.044 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.107e-05/1.628, allocations: 8 kB / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005141/1.628, allocations: 165.2 kB / 1.045 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/1.629, allocations: 264.3 kB / 1.045 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/1.629, allocations: 0 / 1.045 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/1.629, allocations: 4 kB / 1.045 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.446e-05/1.629, allocations: 16.22 kB / 1.045 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/1.632, allocations: 1.615 MB / 1.046 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/1.632, allocations: 71.19 kB / 1.046 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/1.632, allocations: 59.3 kB / 1.047 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/1.632, allocations: 0 / 1.047 GB, free: 8.824 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.632, allocations: 33.81 kB / 1.047 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/1.632, allocations: 0 / 1.047 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0007737/1.633, allocations: 180.5 kB / 1.047 GB, free: 8.617 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/1.633, allocations: 84.36 kB / 1.047 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/1.633, allocations: 192.2 kB / 1.047 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.633, allocations: 25.7 kB / 1.047 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/1.634, allocations: 150.6 kB / 1.047 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/1.634, allocations: 34.92 kB / 1.047 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/1.634, allocations: 0 / 1.047 GB, free: 8.152 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.634, allocations: 322.4 kB / 1.048 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/1.634, allocations: 77.97 kB / 1.048 GB, free: 7.781 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/1.634, allocations: 153.5 kB / 1.048 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/1.635, allocations: 107.1 kB / 1.048 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.635, allocations: 0 / 1.048 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007754/1.636, allocations: 273.5 kB / 1.048 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005632/1.636, allocations: 1.14 MB / 1.049 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.636, allocations: 0 / 1.049 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/1.636, allocations: 4 kB / 1.049 GB, free: 6.109 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/1.637, allocations: 51.91 kB / 1.049 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.637, allocations: 4 kB / 1.049 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/1.637, allocations: 11.98 kB / 1.049 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.637, allocations: 10.81 kB / 1.049 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.637, allocations: 7.938 kB / 1.049 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006357/1.638, allocations: 201.4 kB / 1.049 GB, free: 5.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.638, allocations: 7.906 kB / 1.049 GB, free: 5.863 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/1.638, allocations: 4 kB / 1.049 GB, free: 5.859 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.638, allocations: 47.91 kB / 1.05 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.638, allocations: 4.375 kB / 1.05 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/1.639, allocations: 12 kB / 1.05 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/1.639, allocations: 15.61 kB / 1.05 GB, free: 5.785 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001308/1.639, allocations: 112.9 kB / 1.05 GB, free: 5.668 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/1.639, allocations: 15.81 kB / 1.05 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/1.639, allocations: 120.6 kB / 1.05 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.639, allocations: 3.984 kB / 1.05 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.639, allocations: 0 / 1.05 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.639, allocations: 0 / 1.05 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.64, allocations: 0.5776 MB / 1.05 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.641, allocations: 4 kB / 1.05 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/1.641, allocations: 19.92 kB / 1.05 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.641, allocations: 8.25 kB / 1.05 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/1.641, allocations: 0 / 1.05 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.641, allocations: 4 kB / 1.05 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.641, allocations: 0 / 1.05 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004505/1.641, allocations: 344.7 kB / 1.051 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006423/1.642, allocations: 0.7085 MB / 1.051 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.642, allocations: 111.8 kB / 1.052 GB, free: 3.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/1.642, allocations: 3.984 kB / 1.052 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/1.642, allocations: 4 kB / 1.052 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/1.642, allocations: 7.984 kB / 1.052 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.642, allocations: 4 kB / 1.052 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002345/1.643, allocations: 158.3 kB / 1.052 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002486/1.645, allocations: 91.16 kB / 1.052 GB, free: 3.414 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002574/1.646, allocations: 123.1 kB / 1.052 GB, free: 3.285 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007261/1.646, allocations: 258.5 kB / 1.052 GB, free: 3.098 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.646, allocations: 3.938 kB / 1.052 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/1.646, allocations: 45.3 kB / 1.052 GB, free: 3.059 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/1.647, allocations: 21.17 kB / 1.052 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008994/1.648, allocations: 275.1 kB / 1.052 GB, free: 2.758 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/1.648, allocations: 0.7605 MB / 1.053 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of SimCode: time 1.713e-06/1.648, allocations: 3.938 kB / 1.053 GB, free: 1.969 MB / 0.6667 GB