Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.12/2.12, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001591/0.001591, allocations: 193.2 kB / 360.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001226/0.001225, allocations: 92.16 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2401/0.2413, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.7824, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/1.05, allocations: 183.6 MB / 1.142 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.051, allocations: 94.73 kB / 1.142 GB, free: 5.012 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.2003/1.251, allocations: 46.92 MB / 1.188 GB, free: 5.863 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/1.251, allocations: 12 kB / 1.188 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/1.27, allocations: 1.251 MB / 1.189 GB, free: 4.598 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/1.272, allocations: 0.6224 MB / 1.19 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/1.273, allocations: 20 kB / 1.19 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002543/1.273, allocations: 37.09 kB / 1.19 GB, free: 3.875 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004276/1.277, allocations: 1.342 MB / 1.191 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/1.281, allocations: 1.383 MB / 1.193 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/1.281, allocations: 3.984 kB / 1.193 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/1.281, allocations: 7.984 kB / 1.193 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005819/1.282, allocations: 133.5 kB / 1.193 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/1.299, allocations: 6.557 MB / 1.199 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.302, allocations: 0.8335 MB / 1.2 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/1.303, allocations: 0.5786 MB / 1.2 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00393/1.307, allocations: 1.49 MB / 1.202 GB, free: 7.039 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/1.307, allocations: 38.5 kB / 1.202 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 4.389e-06/1.307, allocations: 8 kB / 1.202 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.02106/1.328, allocations: 4.169 MB / 1.206 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/1.329, allocations: 93.98 kB / 1.206 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009887/1.33, allocations: 474.1 kB / 1.207 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002741/1.33, allocations: 29.7 kB / 1.207 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/1.33, allocations: 355.1 kB / 1.207 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/1.331, allocations: 354.7 kB / 1.207 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/1.331, allocations: 0 / 1.207 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002105/1.331, allocations: 394.7 kB / 1.208 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/1.333, allocations: 0.7562 MB / 1.208 GB, free: 324 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/1.336, allocations: 1.082 MB / 1.209 GB, free: 15.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/1.34, allocations: 1.022 MB / 1.21 GB, free: 14.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.946e-05/1.34, allocations: 4 kB / 1.21 GB, free: 14.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0135/1.353, allocations: 2.941 MB / 1.213 GB, free: 11.11 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002088/1.355, allocations: 3.907 MB / 1.217 GB, free: 6.891 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/1.355, allocations: 8 kB / 1.217 GB, free: 6.883 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007456/1.363, allocations: 0.9566 MB / 1.218 GB, free: 5.914 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/1.367, allocations: 392.8 kB / 1.218 GB, free: 5.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/1.387, allocations: 8.371 MB / 1.227 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/1.392, allocations: 199.8 kB / 1.227 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000384/1.392, allocations: 63.97 kB / 1.227 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.392, allocations: 8.281 kB / 1.227 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009418/1.402, allocations: 2.338 MB / 1.229 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/1.402, allocations: 15.06 kB / 1.229 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/1.405, allocations: 0.5697 MB / 1.23 GB, free: 9.594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/1.41, allocations: 407.4 kB / 1.23 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.426, allocations: 8.093 MB / 1.238 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003941/1.43, allocations: 191.8 kB / 1.238 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.43, allocations: 59.97 kB / 1.238 GB, free: 408 kB / 0.8386 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.000485/1.43, allocations: 140.6 kB / 1.238 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/1.431, allocations: 79.06 kB / 1.238 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0142/1.445, allocations: 3.005 MB / 1.241 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/1.445, allocations: 8 kB / 1.241 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/1.445, allocations: 9.375 kB / 1.241 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-05/1.445, allocations: 7.969 kB / 1.241 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/1.463, allocations: 4.569 MB / 1.246 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/1.463, allocations: 9.5 kB / 1.246 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003548/1.467, allocations: 288.2 kB / 1.246 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007586/1.475, allocations: 1.034 MB / 1.247 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/1.475, allocations: 19.97 kB / 1.247 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3012/1.776, allocations: 9.698 MB / 1.257 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/1.776, allocations: 10.38 kB / 1.257 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01056/1.787, allocations: 3.116 MB / 1.26 GB, free: 313.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01083/1.798, allocations: 3.519 MB / 1.263 GB, free: 312.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.799, allocations: 344 kB / 1.264 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/1.799, allocations: 7.094 kB / 1.264 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004105/1.803, allocations: 227.4 kB / 1.264 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/1.804, allocations: 71.62 kB / 1.264 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/1.804, allocations: 43.06 kB / 1.264 GB, free: 312.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006451/1.805, allocations: 365.1 kB / 1.264 GB, free: 312.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004571/1.809, allocations: 0.5042 MB / 1.265 GB, free: 312.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.0004082/1.81, allocations: 136.6 kB / 1.265 GB, free: 312.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.822, allocations: 3.905 MB / 1.269 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/1.822, allocations: 0 / 1.269 GB, free: 311.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005186/1.827, allocations: 1.537 MB / 1.27 GB, free: 311 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/1.829, allocations: 117.4 kB / 1.27 GB, free: 311 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/1.846, allocations: 2.643 MB / 1.273 GB, free: 310.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/1.847, allocations: 1.188 MB / 1.274 GB, free: 309.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.162e-06/1.847, allocations: 0 / 1.274 GB, free: 309.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)