Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.369/1.369, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001098/0.001098, allocations: 173.3 kB / 366.3 MB, free: 1.996 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.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0008024/0.0008024, allocations: 87.31 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1918/0.1926, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.6313, allocations: 116.3 MB / 0.9727 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.8067, allocations: 184.8 MB / 1.153 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.807, allocations: 92.55 kB / 1.153 GB, free: 13.5 MB / 0.7605 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.1088/0.9158, allocations: 46.92 MB / 1.199 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.9158, allocations: 8 kB / 1.199 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009204/0.925, allocations: 1.251 MB / 1.2 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.9263, allocations: 0.6263 MB / 1.201 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.9263, allocations: 20 kB / 1.201 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.9265, allocations: 39.91 kB / 1.201 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002189/0.9287, allocations: 1.338 MB / 1.202 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.9308, allocations: 1.381 MB / 1.204 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.9309, allocations: 11.92 kB / 1.204 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.931, allocations: 0 / 1.204 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003012/0.9313, allocations: 137.5 kB / 1.204 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009877/0.9412, allocations: 6.562 MB / 1.21 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.9423, allocations: 0.8252 MB / 1.211 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.9431, allocations: 0.5757 MB / 1.211 GB, free: 1.023 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.9451, allocations: 1.485 MB / 1.213 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.9451, allocations: 39.5 kB / 1.213 GB, free: 15.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/0.9452, allocations: 0 / 1.213 GB, free: 15.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=107): time 0.01048/0.9556, allocations: 4.184 MB / 1.217 GB, free: 11.23 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.9557, allocations: 90.05 kB / 1.217 GB, free: 11.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.9562, allocations: 478.1 kB / 1.218 GB, free: 10.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-05/0.9563, allocations: 29.7 kB / 1.218 GB, free: 10.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.9565, allocations: 359.1 kB / 1.218 GB, free: 10.25 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.9568, allocations: 354.7 kB / 1.218 GB, free: 9.902 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.9569, allocations: 0 / 1.218 GB, free: 9.902 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9571, allocations: 390.7 kB / 1.219 GB, free: 9.512 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.9581, allocations: 0.7544 MB / 1.219 GB, free: 8.758 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001283/0.9594, allocations: 1.086 MB / 1.22 GB, free: 7.531 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.9613, allocations: 1.018 MB / 1.221 GB, free: 6.516 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.9614, allocations: 0 / 1.221 GB, free: 6.516 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006706/0.9681, allocations: 2.941 MB / 1.224 GB, free: 3.551 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001289/0.9694, allocations: 3.913 MB / 1.228 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.9694, allocations: 16 kB / 1.228 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003801/0.9732, allocations: 0.9476 MB / 1.229 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.9753, allocations: 391.4 kB / 1.229 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.9859, allocations: 8.375 MB / 1.238 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/0.9881, allocations: 203.8 kB / 1.238 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.9884, allocations: 63.97 kB / 1.238 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.9884, allocations: 4.094 kB / 1.238 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004775/0.9932, allocations: 2.341 MB / 1.24 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9932, allocations: 8 kB / 1.24 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.9949, allocations: 0.5675 MB / 1.241 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.997, allocations: 412.1 kB / 1.241 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008447/1.005, allocations: 8.095 MB / 1.249 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.007, allocations: 191.8 kB / 1.249 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/1.008, allocations: 67.98 kB / 1.249 GB, free: 8.82 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.0003357/1.008, allocations: 137.5 kB / 1.249 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/1.008, allocations: 79.06 kB / 1.25 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007469/1.016, allocations: 3.013 MB / 1.252 GB, free: 5.574 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.016, allocations: 12 kB / 1.252 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/1.016, allocations: 4 kB / 1.252 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.016, allocations: 7.984 kB / 1.252 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009103/1.025, allocations: 4.564 MB / 1.257 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.025, allocations: 4 kB / 1.257 GB, free: 0.8477 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.027, allocations: 296.1 kB / 1.257 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.24/1.267, allocations: 1.03 MB / 1.258 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.267, allocations: 19.05 kB / 1.258 GB, free: 309.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.277, allocations: 9.69 MB / 1.268 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.277, allocations: 12.31 kB / 1.268 GB, free: 304.7 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005576/1.282, allocations: 3.117 MB / 1.271 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005422/1.288, allocations: 3.518 MB / 1.274 GB, free: 302.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/1.289, allocations: 339.8 kB / 1.275 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/1.289, allocations: 13.83 kB / 1.275 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/1.291, allocations: 229.6 kB / 1.275 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/1.291, allocations: 72.12 kB / 1.275 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.291, allocations: 41.92 kB / 1.275 GB, free: 302.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003805/1.291, allocations: 370.7 kB / 1.275 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00309/1.295, allocations: 0.5046 MB / 1.276 GB, free: 302.4 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.0002399/1.295, allocations: 141.1 kB / 1.276 GB, free: 302.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006224/1.301, allocations: 3.898 MB / 1.28 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.301, allocations: 3.938 kB / 1.28 GB, free: 301.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002539/1.304, allocations: 1.537 MB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/1.304, allocations: 123.9 kB / 1.281 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008388/1.313, allocations: 2.65 MB / 1.284 GB, free: 300.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000953/1.314, allocations: 1.181 MB / 1.285 GB, free: 300 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.314, allocations: 0 / 1.285 GB, free: 300 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)