Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.24/1.24, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 184.5 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008582/0.0008581, allocations: 91.27 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3375/0.3384, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.5057, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5162/1.022, allocations: 178.6 MB / 1.059 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.022, allocations: 92.44 kB / 1.059 GB, free: 10.43 MB / 0.6823 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.1095/1.132, allocations: 46.92 MB / 1.105 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.132, allocations: 8 kB / 1.105 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009259/1.141, allocations: 1.255 MB / 1.106 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.142, allocations: 0.6266 MB / 1.107 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/1.142, allocations: 20 kB / 1.107 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.143, allocations: 36 kB / 1.107 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002138/1.145, allocations: 1.346 MB / 1.108 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.147, allocations: 1.383 MB / 1.11 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.147, allocations: 7.938 kB / 1.11 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.147, allocations: 3.906 kB / 1.11 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/1.147, allocations: 135.3 kB / 1.11 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009665/1.157, allocations: 6.547 MB / 1.116 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/1.158, allocations: 0.8374 MB / 1.117 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008728/1.159, allocations: 0.577 MB / 1.117 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/1.161, allocations: 1.48 MB / 1.119 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/1.161, allocations: 42.56 kB / 1.119 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 3.917e-06/1.161, allocations: 0 / 1.119 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01076/1.172, allocations: 4.188 MB / 1.123 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.172, allocations: 90.05 kB / 1.123 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/1.173, allocations: 482 kB / 1.124 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.562e-05/1.173, allocations: 29.7 kB / 1.124 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/1.173, allocations: 355.1 kB / 1.124 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/1.173, allocations: 358.7 kB / 1.124 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/1.173, allocations: 0 / 1.124 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001584/1.173, allocations: 390.7 kB / 1.125 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/1.175, allocations: 0.7523 MB / 1.125 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/1.176, allocations: 1.086 MB / 1.126 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/1.178, allocations: 1.018 MB / 1.127 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.178, allocations: 0 / 1.127 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006805/1.185, allocations: 2.933 MB / 1.13 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001866/1.187, allocations: 3.919 MB / 1.134 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/1.187, allocations: 16 kB / 1.134 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/1.19, allocations: 0.9515 MB / 1.135 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.193, allocations: 387.4 kB / 1.135 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/1.203, allocations: 8.37 MB / 1.144 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.206, allocations: 203.7 kB / 1.144 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/1.206, allocations: 63.97 kB / 1.144 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.375e-06/1.206, allocations: 4.094 kB / 1.144 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004783/1.211, allocations: 2.34 MB / 1.146 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.211, allocations: 8 kB / 1.146 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/1.212, allocations: 0.5699 MB / 1.147 GB, free: 9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/1.215, allocations: 415.4 kB / 1.147 GB, free: 8.594 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/1.223, allocations: 8.095 MB / 1.155 GB, free: 44 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/1.226, allocations: 191.8 kB / 1.155 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/1.226, allocations: 71.91 kB / 1.155 GB, free: 15.79 MB / 0.7761 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.0004773/1.227, allocations: 136.6 kB / 1.155 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/1.227, allocations: 82.97 kB / 1.155 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/1.235, allocations: 3.003 MB / 1.158 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/1.235, allocations: 12 kB / 1.158 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/1.235, allocations: 4 kB / 1.158 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.235, allocations: 11.97 kB / 1.158 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/1.244, allocations: 4.562 MB / 1.163 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/1.244, allocations: 4 kB / 1.163 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001704/1.246, allocations: 292.1 kB / 1.163 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003893/1.25, allocations: 1.033 MB / 1.164 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/1.25, allocations: 19.97 kB / 1.164 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.263, allocations: 9.705 MB / 1.174 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.263, allocations: 7.938 kB / 1.174 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006499/1.27, allocations: 3.108 MB / 1.177 GB, free: 8.934 MB / 0.7917 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0064/1.276, allocations: 3.521 MB / 1.18 GB, free: 5.168 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006989/1.277, allocations: 347.8 kB / 1.18 GB, free: 4.809 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/1.277, allocations: 15.98 kB / 1.181 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.279, allocations: 223.7 kB / 1.181 GB, free: 4.574 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.279, allocations: 68.19 kB / 1.181 GB, free: 4.508 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.279, allocations: 39.98 kB / 1.181 GB, free: 4.469 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004865/1.28, allocations: 366.9 kB / 1.181 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00354/1.283, allocations: 0.5194 MB / 1.182 GB, free: 3.594 MB / 0.7917 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.0003942/1.284, allocations: 123.1 kB / 1.182 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007768/1.292, allocations: 3.916 MB / 1.186 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.292, allocations: 0 / 1.186 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003079/1.295, allocations: 1.529 MB / 1.187 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009025/1.296, allocations: 114.2 kB / 1.187 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00938/1.305, allocations: 2.632 MB / 1.19 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001133/1.306, allocations: 1.192 MB / 1.191 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of SimCode: time 7.41e-07/1.306, allocations: 0 / 1.191 GB, free: 9.852 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)