Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [: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.325/1.325, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.000969/0.0009691, allocations: 173.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9973/0.9973, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008151/0.0008151, allocations: 90.16 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.53e-06/5.64e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5768, allocations: 179.1 MB / 1.139 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5771, allocations: 97.59 kB / 1.139 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1766/0.7537, allocations: 76.87 MB / 1.214 GB, free: 11.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.773e-05/0.7538, allocations: 39.98 kB / 1.214 GB, free: 11.3 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002278/0.7561, allocations: 1.544 MB / 1.215 GB, free: 9.703 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.7561, allocations: 8.031 kB / 1.215 GB, free: 9.695 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/0.7657, allocations: 1.461 MB / 1.217 GB, free: 8.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.7677, allocations: 1.153 MB / 1.218 GB, free: 7.02 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.7677, allocations: 36 kB / 1.218 GB, free: 6.984 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.7679, allocations: 67.94 kB / 1.218 GB, free: 6.918 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00222/0.7702, allocations: 1.496 MB / 1.219 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.7727, allocations: 1.915 MB / 1.221 GB, free: 3.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.7727, allocations: 11.94 kB / 1.221 GB, free: 3.309 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.7729, allocations: 8 kB / 1.221 GB, free: 3.301 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/0.7729, allocations: 78.19 kB / 1.221 GB, free: 3.223 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01167/0.7846, allocations: 9.789 MB / 1.231 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.7863, allocations: 1.086 MB / 1.232 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.7871, allocations: 0.6072 MB / 1.233 GB, free: 7.066 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.7872, allocations: 16.42 kB / 1.233 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.7872, allocations: 46.98 kB / 1.233 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 1.683e-06/0.7872, allocations: 0 / 1.233 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.008369/0.7956, allocations: 3.944 MB / 1.237 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7957, allocations: 218.3 kB / 1.237 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.7966, allocations: 0.746 MB / 1.237 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.322e-05/0.7967, allocations: 29.7 kB / 1.237 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/0.797, allocations: 0.5454 MB / 1.238 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.7972, allocations: 272 kB / 1.238 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.7973, allocations: 4 kB / 1.238 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7974, allocations: 338 kB / 1.239 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009073/0.7983, allocations: 0.697 MB / 1.239 GB, free: 96 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.7994, allocations: 0.9321 MB / 1.24 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.8006, allocations: 0.7933 MB / 1.241 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8007, allocations: 4 kB / 1.241 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00479/0.8054, allocations: 2.482 MB / 1.243 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.8055, allocations: 4 kB / 1.243 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.8055, allocations: 12.73 kB / 1.243 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.8086, allocations: 0.8436 MB / 1.244 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.8104, allocations: 347.4 kB / 1.245 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2206/1.031, allocations: 13.82 MB / 1.258 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.033, allocations: 202 kB / 1.258 GB, free: 294.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.033, allocations: 53.42 kB / 1.258 GB, free: 294.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002304/1.034, allocations: 128.3 kB / 1.258 GB, free: 294.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/1.034, allocations: 132.4 kB / 1.259 GB, free: 294.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/1.038, allocations: 2.534 MB / 1.261 GB, free: 294.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.038, allocations: 10.03 kB / 1.261 GB, free: 294.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.038, allocations: 6.844 kB / 1.261 GB, free: 294.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.038, allocations: 3.656 kB / 1.261 GB, free: 294.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/1.045, allocations: 4.086 MB / 1.265 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.045, allocations: 1.5 kB / 1.265 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.046, allocations: 280.2 kB / 1.265 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/1.049, allocations: 0.7625 MB / 1.266 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-05/1.049, allocations: 20.11 kB / 1.266 GB, free: 293.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/1.059, allocations: 13.39 MB / 1.279 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.059, allocations: 12.72 kB / 1.279 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003919/1.063, allocations: 2.459 MB / 1.282 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000611/1.064, allocations: 382 kB / 1.282 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/1.064, allocations: 8.562 kB / 1.282 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00172/1.066, allocations: 200 kB / 1.282 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/1.066, allocations: 44.27 kB / 1.282 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.771e-05/1.066, allocations: 42.48 kB / 1.282 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0006159/1.067, allocations: 0.5625 MB / 1.283 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001254/1.068, allocations: 398.9 kB / 1.283 GB, free: 283.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/1.068, allocations: 148.4 kB / 1.283 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00362/1.072, allocations: 2.711 MB / 1.286 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.072, allocations: 0 / 1.286 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/1.074, allocations: 1.84 MB / 1.288 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/1.076, allocations: 403.2 kB / 1.288 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005715/1.081, allocations: 2.616 MB / 1.291 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.083, allocations: 1.499 MB / 1.292 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of SimCode: time 3.7e-07/1.083, allocations: 0 / 1.292 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.03647/1.119, allocations: 30.24 MB / 1.322 GB, free: 279.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)