Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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 8.0.1-maint.8.0.x/package.mo): time 1.321/1.321, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009321/0.0009322, allocations: 181.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9989/0.9989, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000881/0.000881, allocations: 87.91 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1758/0.1767, allocations: 121.5 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.5861, allocations: 115.3 MB / 0.9638 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.7483, allocations: 183.8 MB / 1.143 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.7485, allocations: 95.88 kB / 1.143 GB, free: 4.004 MB / 0.7448 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.1032/0.8517, allocations: 46.92 MB / 1.189 GB, free: 4.848 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.8518, allocations: 12 kB / 1.189 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008815/0.8606, allocations: 1.247 MB / 1.19 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.8617, allocations: 0.6225 MB / 1.191 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.8617, allocations: 20 kB / 1.191 GB, free: 2.902 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.8619, allocations: 35.91 kB / 1.191 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00199/0.8639, allocations: 1.346 MB / 1.192 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.8657, allocations: 1.38 MB / 1.194 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8657, allocations: 3.938 kB / 1.194 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8658, allocations: 4 kB / 1.194 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/0.8661, allocations: 133.5 kB / 1.194 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008643/0.8748, allocations: 6.565 MB / 1.2 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8758, allocations: 0.8328 MB / 1.201 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000695/0.8765, allocations: 0.5678 MB / 1.202 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001865/0.8784, allocations: 1.486 MB / 1.203 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.8784, allocations: 42.55 kB / 1.203 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.8784, allocations: 0 / 1.203 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.01015/0.8886, allocations: 4.183 MB / 1.207 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.8886, allocations: 90.05 kB / 1.207 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.8892, allocations: 478 kB / 1.208 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.453e-05/0.8893, allocations: 29.7 kB / 1.208 GB, free: 1.172 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.8895, allocations: 355.1 kB / 1.208 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.8898, allocations: 354.7 kB / 1.208 GB, free: 476 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.8899, allocations: 0 / 1.208 GB, free: 476 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.8901, allocations: 386.8 kB / 1.209 GB, free: 80 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.8911, allocations: 0.764 MB / 1.21 GB, free: 15.31 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.8924, allocations: 1.078 MB / 1.211 GB, free: 14.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.8943, allocations: 1.022 MB / 1.212 GB, free: 13.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.8943, allocations: 7.984 kB / 1.212 GB, free: 13.06 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006564/0.9009, allocations: 2.937 MB / 1.215 GB, free: 10.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001277/0.9022, allocations: 3.91 MB / 1.218 GB, free: 5.891 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.9022, allocations: 11.98 kB / 1.218 GB, free: 5.879 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003684/0.9059, allocations: 0.958 MB / 1.219 GB, free: 4.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/0.9078, allocations: 391.4 kB / 1.22 GB, free: 4.527 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.9183, allocations: 8.375 MB / 1.228 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.9204, allocations: 199.8 kB / 1.228 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.9206, allocations: 66.41 kB / 1.228 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.9206, allocations: 4 kB / 1.228 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004659/0.9253, allocations: 2.335 MB / 1.23 GB, free: 9.176 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.9253, allocations: 12 kB / 1.23 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.9271, allocations: 0.5658 MB / 1.231 GB, free: 8.586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.9292, allocations: 411.4 kB / 1.231 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008212/0.9375, allocations: 8.085 MB / 1.239 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.9393, allocations: 195.8 kB / 1.239 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.9394, allocations: 59.97 kB / 1.239 GB, free: 15.39 MB / 0.8542 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.0003162/0.9397, allocations: 145.2 kB / 1.24 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.9399, allocations: 83.05 kB / 1.24 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006993/0.9469, allocations: 3.002 MB / 1.243 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.947, allocations: 8 kB / 1.243 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.947, allocations: 8 kB / 1.243 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.947, allocations: 3.984 kB / 1.243 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008736/0.9557, allocations: 4.569 MB / 1.247 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.9558, allocations: 4 kB / 1.247 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.9574, allocations: 296.2 kB / 1.247 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003688/0.9611, allocations: 1.031 MB / 1.248 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.9612, allocations: 19.97 kB / 1.248 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2233/1.185, allocations: 9.703 MB / 1.258 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.185, allocations: 11.05 kB / 1.258 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005388/1.19, allocations: 3.115 MB / 1.261 GB, free: 310.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005273/1.195, allocations: 3.512 MB / 1.264 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/1.196, allocations: 341.8 kB / 1.265 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.196, allocations: 17.5 kB / 1.265 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/1.198, allocations: 220.1 kB / 1.265 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.198, allocations: 73.41 kB / 1.265 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.198, allocations: 45.78 kB / 1.265 GB, free: 309.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003366/1.198, allocations: 365.4 kB / 1.265 GB, free: 309.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002808/1.201, allocations: 0.5051 MB / 1.266 GB, free: 309.2 MB / 0.8542 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.0002138/1.201, allocations: 143.1 kB / 1.266 GB, free: 309.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005777/1.207, allocations: 3.906 MB / 1.27 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.207, allocations: 3.844 kB / 1.27 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/1.21, allocations: 1.536 MB / 1.271 GB, free: 308 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/1.21, allocations: 112.4 kB / 1.271 GB, free: 308 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00773/1.218, allocations: 2.639 MB / 1.274 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/1.219, allocations: 1.192 MB / 1.275 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/1.219, allocations: 0 / 1.275 GB, free: 306.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)