Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_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.184/1.184, allocations: 249.4 MB / 256.7 MB, free: 15.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 179.6 kB / 316 MB, free: 7.195 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.272/1.272, allocations: 205.1 MB / 0.5667 GB, free: 23.89 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.0008784/0.0008785, allocations: 85.83 kB / 0.671 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1969/0.1978, allocations: 112.5 MB / 0.7808 GB, free: 444 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.5954, allocations: 106.3 MB / 0.8847 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.492/1.087, allocations: 172.9 MB / 1.053 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.088, allocations: 94.91 kB / 1.054 GB, free: 149.2 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.09457/1.182, allocations: 45.23 MB / 1.098 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.182, allocations: 12 kB / 1.098 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009055/1.191, allocations: 1.255 MB / 1.099 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.193, allocations: 0.6225 MB / 1.1 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.193, allocations: 20 kB / 1.1 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/1.193, allocations: 36 kB / 1.1 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001864/1.195, allocations: 1.342 MB / 1.101 GB, free: 101 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/1.196, allocations: 1.38 MB / 1.102 GB, free: 99.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.196, allocations: 7.938 kB / 1.102 GB, free: 99.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/1.197, allocations: 0 / 1.102 GB, free: 99.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002521/1.197, allocations: 141.5 kB / 1.102 GB, free: 99.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00791/1.205, allocations: 6.55 MB / 1.109 GB, free: 92.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/1.206, allocations: 0.8354 MB / 1.11 GB, free: 91.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/1.206, allocations: 0.5795 MB / 1.11 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.208, allocations: 1.474 MB / 1.112 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/1.208, allocations: 42.56 kB / 1.112 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.968e-06/1.208, allocations: 0 / 1.112 GB, free: 89.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=107): time 0.01015/1.218, allocations: 4.186 MB / 1.116 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/1.218, allocations: 97.98 kB / 1.116 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/1.219, allocations: 482 kB / 1.116 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/1.219, allocations: 25.7 kB / 1.116 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.219, allocations: 355.1 kB / 1.117 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.219, allocations: 354.7 kB / 1.117 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/1.219, allocations: 0 / 1.117 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/1.219, allocations: 386.8 kB / 1.117 GB, free: 83.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/1.22, allocations: 0.7562 MB / 1.118 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009568/1.221, allocations: 1.089 MB / 1.119 GB, free: 81.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/1.223, allocations: 1.018 MB / 1.12 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.223, allocations: 4 kB / 1.12 GB, free: 80.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006011/1.229, allocations: 2.933 MB / 1.123 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005413/1.23, allocations: 3.91 MB / 1.127 GB, free: 73.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.23, allocations: 8 kB / 1.127 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003521/1.233, allocations: 0.9631 MB / 1.128 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/1.235, allocations: 387.4 kB / 1.128 GB, free: 72.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008506/1.244, allocations: 8.37 MB / 1.136 GB, free: 63.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/1.246, allocations: 203.7 kB / 1.137 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.246, allocations: 63.97 kB / 1.137 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/1.246, allocations: 7.984 kB / 1.137 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004061/1.25, allocations: 2.332 MB / 1.139 GB, free: 60.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.25, allocations: 12 kB / 1.139 GB, free: 60.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/1.252, allocations: 0.5658 MB / 1.139 GB, free: 60.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.254, allocations: 419.4 kB / 1.14 GB, free: 59.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006888/1.26, allocations: 8.089 MB / 1.148 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/1.263, allocations: 191.8 kB / 1.148 GB, free: 50.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.263, allocations: 63.97 kB / 1.148 GB, free: 50.87 MB / 0.6823 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.0003789/1.263, allocations: 134.7 kB / 1.148 GB, free: 50.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/1.263, allocations: 83.06 kB / 1.148 GB, free: 50.65 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/1.27, allocations: 3.01 MB / 1.151 GB, free: 47.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.27, allocations: 8 kB / 1.151 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.27, allocations: 8 kB / 1.151 GB, free: 47.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/1.27, allocations: 8.531 kB / 1.151 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007777/1.278, allocations: 4.561 MB / 1.156 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/1.278, allocations: 4 kB / 1.156 GB, free: 42.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/1.279, allocations: 296.2 kB / 1.156 GB, free: 42.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003534/1.283, allocations: 1.037 MB / 1.157 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/1.283, allocations: 27.91 kB / 1.157 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/1.293, allocations: 9.702 MB / 1.166 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.293, allocations: 7.938 kB / 1.166 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005474/1.299, allocations: 3.115 MB / 1.169 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005516/1.304, allocations: 3.517 MB / 1.173 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/1.305, allocations: 339.9 kB / 1.173 GB, free: 23.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.305, allocations: 7.984 kB / 1.173 GB, free: 23.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.307, allocations: 227.6 kB / 1.173 GB, free: 23.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.307, allocations: 72.19 kB / 1.174 GB, free: 23.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.307, allocations: 51.97 kB / 1.174 GB, free: 23.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003883/1.308, allocations: 354.9 kB / 1.174 GB, free: 23.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00343/1.311, allocations: 0.5155 MB / 1.174 GB, free: 22.68 MB / 0.6823 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.0002709/1.311, allocations: 135 kB / 1.175 GB, free: 22.54 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006225/1.318, allocations: 3.908 MB / 1.178 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.318, allocations: 4.062 kB / 1.178 GB, free: 18.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002559/1.32, allocations: 1.528 MB / 1.18 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.321, allocations: 121.9 kB / 1.18 GB, free: 16.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008712/1.33, allocations: 2.638 MB / 1.183 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/1.331, allocations: 1.199 MB / 1.184 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/1.331, allocations: 0 / 1.184 GB, free: 12.91 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)