Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.136/2.136, allocations: 253.1 MB / 260.4 MB, free: 7.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001659/0.001658, allocations: 181.2 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.017/2.017, allocations: 205.4 MB / 0.5704 GB, free: 15.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001301, allocations: 95.77 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.399e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 106.2 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8394/1.059, allocations: 173.7 MB / 1.058 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005278/1.06, allocations: 90.69 kB / 1.058 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2086/1.268, allocations: 44.26 MB / 1.101 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.368e-05/1.269, allocations: 23.98 kB / 1.101 GB, free: 10.25 MB / 0.7136 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.002882/1.271, allocations: 0.978 MB / 1.102 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/1.272, allocations: 8.031 kB / 1.102 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/1.291, allocations: 1.255 MB / 1.103 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/1.293, allocations: 0.6207 MB / 1.104 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/1.293, allocations: 20 kB / 1.104 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/1.294, allocations: 35.91 kB / 1.104 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007336/1.301, allocations: 1.343 MB / 1.105 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/1.308, allocations: 1.382 MB / 1.107 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.265e-05/1.308, allocations: 4 kB / 1.107 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/1.308, allocations: 4 kB / 1.107 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009259/1.309, allocations: 129.2 kB / 1.107 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/1.338, allocations: 6.546 MB / 1.113 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/1.341, allocations: 0.8406 MB / 1.114 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/1.344, allocations: 0.5704 MB / 1.114 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006861/1.351, allocations: 1.48 MB / 1.116 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/1.351, allocations: 42.56 kB / 1.116 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 6.262e-06/1.351, allocations: 0 / 1.116 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.0333/1.384, allocations: 4.189 MB / 1.12 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/1.385, allocations: 86.05 kB / 1.12 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.386, allocations: 478 kB / 1.121 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007739/1.387, allocations: 25.7 kB / 1.121 GB, free: 8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/1.388, allocations: 363 kB / 1.121 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/1.389, allocations: 354.7 kB / 1.121 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/1.389, allocations: 4 kB / 1.121 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002546/1.39, allocations: 390.7 kB / 1.122 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/1.392, allocations: 0.7523 MB / 1.122 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/1.395, allocations: 1.082 MB / 1.123 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/1.399, allocations: 1.022 MB / 1.124 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/1.399, allocations: 3.938 kB / 1.124 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.01394/1.413, allocations: 2.941 MB / 1.127 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001805/1.415, allocations: 3.907 MB / 1.131 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/1.415, allocations: 12 kB / 1.131 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007531/1.422, allocations: 0.9515 MB / 1.132 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/1.427, allocations: 395.4 kB / 1.132 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/1.448, allocations: 8.362 MB / 1.141 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/1.452, allocations: 207.7 kB / 1.141 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003805/1.452, allocations: 67.95 kB / 1.141 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.452, allocations: 4 kB / 1.141 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009377/1.462, allocations: 2.336 MB / 1.143 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/1.462, allocations: 16.06 kB / 1.143 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003157/1.465, allocations: 0.5652 MB / 1.144 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004537/1.47, allocations: 411.4 kB / 1.144 GB, free: 15 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.485, allocations: 8.09 MB / 1.152 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/1.489, allocations: 187.8 kB / 1.152 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002994/1.49, allocations: 67.97 kB / 1.152 GB, free: 6.195 MB / 0.7605 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.0005231/1.49, allocations: 136.7 kB / 1.152 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/1.491, allocations: 83.05 kB / 1.152 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.505, allocations: 3.01 MB / 1.155 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/1.505, allocations: 12 kB / 1.155 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.509e-05/1.505, allocations: 4 kB / 1.155 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/1.505, allocations: 7.984 kB / 1.155 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.523, allocations: 4.577 MB / 1.16 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/1.523, allocations: 8 kB / 1.16 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/1.527, allocations: 291.7 kB / 1.16 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007452/1.534, allocations: 1.026 MB / 1.161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003176/1.534, allocations: 23.97 kB / 1.161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02807/1.562, allocations: 9.694 MB / 1.171 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/1.563, allocations: 12 kB / 1.171 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01214/1.575, allocations: 3.115 MB / 1.174 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/1.576, allocations: 339.9 kB / 1.174 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003689/1.576, allocations: 12.09 kB / 1.174 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.581, allocations: 227.5 kB / 1.174 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/1.581, allocations: 76.19 kB / 1.174 GB, free: 14.67 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.581, allocations: 39.98 kB / 1.174 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0007357/1.582, allocations: 366.8 kB / 1.175 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003319/1.585, allocations: 0.5038 MB / 1.175 GB, free: 13.77 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.0004237/1.586, allocations: 135 kB / 1.175 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.6, allocations: 3.907 MB / 1.179 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.6, allocations: 0 / 1.179 GB, free: 9.656 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005683/1.605, allocations: 1.526 MB / 1.181 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.607, allocations: 116 kB / 1.181 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/1.625, allocations: 2.636 MB / 1.183 GB, free: 5.234 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/1.627, allocations: 1.188 MB / 1.184 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of SimCode: time 2.063e-06/1.628, allocations: 0 / 1.184 GB, free: 4.023 MB / 0.7917 GB Notification: Performance of Templates: time 0.0883/1.716, allocations: 33.1 MB / 1.217 GB, free: 2.992 MB / 0.823 GB