Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.905/3.905, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5335/4.439, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/4.723, allocations: 98.71 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7068/5.429, allocations: 165.6 MB / 0.7901 GB, free: 64.55 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/5.43, allocations: 95.45 kB / 0.7902 GB, free: 64.55 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.2127/5.642, allocations: 45.17 MB / 0.8343 GB, free: 58.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/5.643, allocations: 11.91 kB / 0.8343 GB, free: 58.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02137/5.664, allocations: 1.257 MB / 0.8355 GB, free: 57.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/5.666, allocations: 0.6234 MB / 0.8361 GB, free: 57.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/5.666, allocations: 23.58 kB / 0.8361 GB, free: 57.51 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/5.667, allocations: 31.34 kB / 0.8362 GB, free: 57.51 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004046/5.671, allocations: 1.338 MB / 0.8375 GB, free: 57.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/5.674, allocations: 1.386 MB / 0.8388 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/5.674, allocations: 3.906 kB / 0.8388 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/5.674, allocations: 0 / 0.8388 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005546/5.675, allocations: 138.9 kB / 0.839 GB, free: 56.74 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/5.693, allocations: 6.549 MB / 0.8454 GB, free: 52.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/5.696, allocations: 0.8337 MB / 0.8462 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/5.699, allocations: 0.576 MB / 0.8467 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005697/5.705, allocations: 1.487 MB / 0.8482 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/5.705, allocations: 39.23 kB / 0.8482 GB, free: 51.21 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 6.392e-06/5.705, allocations: 0 / 0.8482 GB, free: 51.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=107): time 0.0221/5.727, allocations: 4.18 MB / 0.8523 GB, free: 49.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/5.727, allocations: 93.66 kB / 0.8524 GB, free: 49.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/5.728, allocations: 476.9 kB / 0.8528 GB, free: 49.71 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002958/5.728, allocations: 25.7 kB / 0.8529 GB, free: 49.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/5.728, allocations: 361.8 kB / 0.8532 GB, free: 49.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/5.729, allocations: 359.9 kB / 0.8536 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/5.729, allocations: 0 / 0.8536 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001316/5.729, allocations: 386.4 kB / 0.8539 GB, free: 48.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/5.731, allocations: 0.7609 MB / 0.8547 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/5.734, allocations: 1.082 MB / 0.8557 GB, free: 48.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/5.738, allocations: 1.025 MB / 0.8567 GB, free: 48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/5.738, allocations: 3.938 kB / 0.8567 GB, free: 48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01712/5.755, allocations: 2.934 MB / 0.8596 GB, free: 47.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009204/5.756, allocations: 3.915 MB / 0.8634 GB, free: 43.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/5.756, allocations: 7.812 kB / 0.8634 GB, free: 43.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/5.768, allocations: 0.9573 MB / 0.8644 GB, free: 42.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/5.773, allocations: 395.6 kB / 0.8647 GB, free: 42.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01757/5.791, allocations: 8.363 MB / 0.8729 GB, free: 37.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004397/5.795, allocations: 198.4 kB / 0.8731 GB, free: 37.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/5.796, allocations: 64.31 kB / 0.8732 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/5.796, allocations: 2.719 kB / 0.8732 GB, free: 37.53 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009009/5.805, allocations: 2.341 MB / 0.8754 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/5.805, allocations: 18.38 kB / 0.8755 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003561/5.808, allocations: 0.5662 MB / 0.876 GB, free: 36.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004604/5.813, allocations: 410.5 kB / 0.8764 GB, free: 36.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01544/5.829, allocations: 8.085 MB / 0.8843 GB, free: 31.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/5.833, allocations: 193.4 kB / 0.8845 GB, free: 31.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004369/5.833, allocations: 63.16 kB / 0.8846 GB, free: 31.05 MB / 0.6511 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.0005191/5.834, allocations: 139 kB / 0.8847 GB, free: 30.92 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/5.834, allocations: 82.98 kB / 0.8848 GB, free: 30.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01926/5.854, allocations: 2.996 MB / 0.8877 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.692e-05/5.854, allocations: 11.34 kB / 0.8877 GB, free: 29.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-05/5.854, allocations: 9.094 kB / 0.8877 GB, free: 29.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.142e-05/5.854, allocations: 5.172 kB / 0.8877 GB, free: 29.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02396/5.878, allocations: 4.58 MB / 0.8922 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/5.878, allocations: 8.906 kB / 0.8922 GB, free: 28.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003822/5.882, allocations: 295.1 kB / 0.8925 GB, free: 28.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007555/5.889, allocations: 1.035 MB / 0.8935 GB, free: 27.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/5.89, allocations: 20.34 kB / 0.8935 GB, free: 27.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/5.912, allocations: 9.69 MB / 0.903 GB, free: 20.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/5.912, allocations: 14.75 kB / 0.903 GB, free: 20.89 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01275/5.924, allocations: 3.117 MB / 0.906 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01548/5.94, allocations: 3.517 MB / 0.9095 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/5.941, allocations: 339.9 kB / 0.9098 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/5.942, allocations: 4.109 kB / 0.9098 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004316/5.946, allocations: 235.5 kB / 0.91 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/5.946, allocations: 76.14 kB / 0.9101 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/5.947, allocations: 47.97 kB / 0.9101 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0006637/5.947, allocations: 358.9 kB / 0.9105 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005291/5.953, allocations: 0.5078 MB / 0.911 GB, free: 12.47 MB / 0.6511 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.0005259/5.953, allocations: 139 kB / 0.9111 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0127/5.966, allocations: 3.899 MB / 0.9149 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-05/5.966, allocations: 1.5 kB / 0.9149 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005281/5.971, allocations: 1.536 MB / 0.9164 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/5.974, allocations: 121.6 kB / 0.9165 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/5.996, allocations: 2.632 MB / 0.9191 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/5.998, allocations: 1.188 MB / 0.9203 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of SimCode: time 1.543e-06/5.998, allocations: 0 / 0.9203 GB, free: 2.723 MB / 0.6511 GB