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.ACACTransformer.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.ACACTransformer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",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.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.000992/0.000992, allocations: 185.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 1.002/1.002, 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.0007942/0.0007942, allocations: 92.09 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.1735, allocations: 121.4 MB / 0.8512 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.5821, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.7435, allocations: 179.7 MB / 1.139 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.7438, allocations: 88.78 kB / 1.139 GB, free: 8.152 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.0995/0.8433, allocations: 44.99 MB / 1.183 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.8433, allocations: 16.56 kB / 1.183 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/0.8518, allocations: 1.181 MB / 1.184 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/0.8527, allocations: 0.5605 MB / 1.185 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.8527, allocations: 20 kB / 1.185 GB, free: 9.129 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.8529, allocations: 36 kB / 1.185 GB, free: 9.094 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001923/0.8548, allocations: 1.26 MB / 1.186 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.8565, allocations: 1.296 MB / 1.188 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.8565, allocations: 3.938 kB / 1.188 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.8566, allocations: 4 kB / 1.188 GB, free: 6.453 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/0.8568, allocations: 101.1 kB / 1.188 GB, free: 6.352 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007871/0.8647, allocations: 6.247 MB / 1.194 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.8658, allocations: 0.9305 MB / 1.195 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006885/0.8665, allocations: 0.569 MB / 1.195 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002298/0.8688, allocations: 2.214 MB / 1.197 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.8689, allocations: 50.55 kB / 1.197 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 2.155e-06/0.8689, allocations: 0 / 1.197 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.008315/0.8772, allocations: 3.579 MB / 1.201 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.8773, allocations: 203.8 kB / 1.201 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.8778, allocations: 436.9 kB / 1.202 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/0.8778, allocations: 25.7 kB / 1.202 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.878, allocations: 350.8 kB / 1.202 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.8783, allocations: 323.3 kB / 1.202 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.8784, allocations: 0 / 1.202 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8785, allocations: 378.8 kB / 1.203 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.8794, allocations: 0.639 MB / 1.203 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009795/0.8803, allocations: 0.9168 MB / 1.204 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.882, allocations: 0.874 MB / 1.205 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.882, allocations: 4 kB / 1.205 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005282/0.8873, allocations: 2.395 MB / 1.207 GB, free: 1.477 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009119/0.8882, allocations: 3.137 MB / 1.21 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8882, allocations: 8 kB / 1.21 GB, free: 14.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002764/0.891, allocations: 0.6646 MB / 1.211 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/0.8929, allocations: 395.4 kB / 1.211 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/0.9005, allocations: 6.925 MB / 1.218 GB, free: 5.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.9024, allocations: 199.7 kB / 1.218 GB, free: 5.535 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9025, allocations: 60.62 kB / 1.218 GB, free: 5.477 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-06/0.9025, allocations: 4 kB / 1.218 GB, free: 5.473 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003255/0.9058, allocations: 1.779 MB / 1.22 GB, free: 3.688 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.9058, allocations: 8 kB / 1.22 GB, free: 3.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.9064, allocations: 221.9 kB / 1.22 GB, free: 3.457 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.9086, allocations: 435.3 kB / 1.221 GB, free: 3.031 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.9119, allocations: 3.674 MB / 1.224 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.9136, allocations: 199.6 kB / 1.225 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.9138, allocations: 55.97 kB / 1.225 GB, free: 14.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000254/0.914, allocations: 125.6 kB / 1.225 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.9143, allocations: 71.16 kB / 1.225 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005702/0.92, allocations: 2.353 MB / 1.227 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.92, allocations: 15.91 kB / 1.227 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.9201, allocations: 8.562 kB / 1.227 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.9201, allocations: 3.984 kB / 1.227 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007393/0.9275, allocations: 4.117 MB / 1.231 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.9275, allocations: 15.98 kB / 1.231 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/0.9291, allocations: 299.5 kB / 1.231 GB, free: 7.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003025/0.9321, allocations: 0.7822 MB / 1.232 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.9322, allocations: 27.16 kB / 1.232 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008367/0.9406, allocations: 7.914 MB / 1.24 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/0.9406, allocations: 4 kB / 1.24 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005037/0.9457, allocations: 2.7 MB / 1.243 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005088/0.9508, allocations: 3.088 MB / 1.246 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.9513, allocations: 312.1 kB / 1.246 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.9515, allocations: 4 kB / 1.246 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.9534, allocations: 207.7 kB / 1.246 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.9535, allocations: 72.89 kB / 1.246 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.9536, allocations: 39.97 kB / 1.246 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000342/0.954, allocations: 330.9 kB / 1.246 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002725/0.9567, allocations: 447.9 kB / 1.247 GB, free: 6.922 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.9569, allocations: 139 kB / 1.247 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004903/0.9618, allocations: 3.11 MB / 1.25 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9619, allocations: 0 / 1.25 GB, free: 3.613 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.9637, allocations: 1.285 MB / 1.251 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000584/0.9643, allocations: 82.16 kB / 1.251 GB, free: 2.215 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2234/1.188, allocations: 2.364 MB / 1.254 GB, free: 316.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009655/1.189, allocations: 1.137 MB / 1.255 GB, free: 315.8 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/1.189, allocations: 0 / 1.255 GB, free: 315.8 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)