Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.341/1.341, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.0009465/0.0009466, allocations: 169.3 kB / 366.3 MB, free: 2.051 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.024/1.024, allocations: 205.2 MB / 0.6256 GB, free: 5.844 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.0007714/0.0007716, allocations: 97.92 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.352e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 116.3 MB / 0.9726 GB, free: 68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.5891, allocations: 180.1 MB / 1.148 GB, free: 412 kB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.5893, allocations: 92.5 kB / 1.149 GB, free: 320 kB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1691/0.7584, allocations: 76.86 MB / 1.224 GB, free: 2.559 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.564e-05/0.7585, allocations: 43.98 kB / 1.224 GB, free: 2.516 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.002273/0.7608, allocations: 1.54 MB / 1.225 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.7608, allocations: 8.031 kB / 1.225 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009436/0.7703, allocations: 1.465 MB / 1.227 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.7723, allocations: 1.157 MB / 1.228 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.7723, allocations: 40 kB / 1.228 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.7725, allocations: 72 kB / 1.228 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0022/0.7747, allocations: 1.485 MB / 1.229 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.7773, allocations: 1.919 MB / 1.231 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.7773, allocations: 7.938 kB / 1.231 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.7775, allocations: 8 kB / 1.231 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.158e-05/0.7775, allocations: 82.19 kB / 1.231 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2407/1.018, allocations: 9.792 MB / 1.241 GB, free: 279.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.02, allocations: 1.088 MB / 1.242 GB, free: 279.1 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/1.02, allocations: 0.6052 MB / 1.242 GB, free: 279.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/1.021, allocations: 8.125 kB / 1.242 GB, free: 279.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.021, allocations: 40.75 kB / 1.242 GB, free: 279.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 2.805e-06/1.021, allocations: 3.5 kB / 1.242 GB, free: 279.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.007129/1.028, allocations: 3.944 MB / 1.246 GB, free: 278.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/1.028, allocations: 217.2 kB / 1.247 GB, free: 278.6 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/1.029, allocations: 0.7472 MB / 1.247 GB, free: 278.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/1.029, allocations: 25.7 kB / 1.247 GB, free: 278.4 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/1.029, allocations: 0.5494 MB / 1.248 GB, free: 278.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.029, allocations: 268.9 kB / 1.248 GB, free: 278 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/1.029, allocations: 0 / 1.248 GB, free: 278 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/1.029, allocations: 345.2 kB / 1.248 GB, free: 277.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/1.03, allocations: 0.6967 MB / 1.249 GB, free: 277.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007932/1.031, allocations: 0.9353 MB / 1.25 GB, free: 277.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/1.032, allocations: 0.799 MB / 1.251 GB, free: 277.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.032, allocations: 0 / 1.251 GB, free: 277.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004031/1.036, allocations: 2.492 MB / 1.253 GB, free: 277.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.036, allocations: 7.062 kB / 1.253 GB, free: 277.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.036, allocations: 3.938 kB / 1.253 GB, free: 277.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002677/1.038, allocations: 0.843 MB / 1.254 GB, free: 277.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.04, allocations: 338.8 kB / 1.254 GB, free: 277.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01049/1.051, allocations: 13.83 MB / 1.268 GB, free: 267.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.052, allocations: 196.6 kB / 1.268 GB, free: 267.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/1.053, allocations: 55.47 kB / 1.268 GB, free: 267.6 MB / 0.8386 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.0002142/1.053, allocations: 128.8 kB / 1.268 GB, free: 267.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.053, allocations: 130.9 kB / 1.268 GB, free: 267.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004489/1.057, allocations: 2.533 MB / 1.271 GB, free: 267.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.058, allocations: 11.28 kB / 1.271 GB, free: 267.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.058, allocations: 6.75 kB / 1.271 GB, free: 267.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.058, allocations: 3.797 kB / 1.271 GB, free: 267.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/1.064, allocations: 4.082 MB / 1.275 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.064, allocations: 7.312 kB / 1.275 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.065, allocations: 280.9 kB / 1.275 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.067, allocations: 0.7728 MB / 1.276 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.068, allocations: 22.06 kB / 1.276 GB, free: 266.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009886/1.077, allocations: 13.38 MB / 1.289 GB, free: 257.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.077, allocations: 1.312 kB / 1.289 GB, free: 257.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003668/1.081, allocations: 2.471 MB / 1.291 GB, free: 256.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005037/1.082, allocations: 378.1 kB / 1.292 GB, free: 256.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/1.082, allocations: 6.344 kB / 1.292 GB, free: 256.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.084, allocations: 203.6 kB / 1.292 GB, free: 256.4 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/1.084, allocations: 52.59 kB / 1.292 GB, free: 256.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.242e-05/1.084, allocations: 36.75 kB / 1.292 GB, free: 256.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0005505/1.084, allocations: 0.564 MB / 1.293 GB, free: 256.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001194/1.085, allocations: 406.7 kB / 1.293 GB, free: 256.3 MB / 0.8386 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.0002398/1.086, allocations: 137 kB / 1.293 GB, free: 256.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003374/1.089, allocations: 2.703 MB / 1.296 GB, free: 255.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.089, allocations: 0 / 1.296 GB, free: 255.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002315/1.091, allocations: 1.843 MB / 1.298 GB, free: 254.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/1.093, allocations: 405.7 kB / 1.298 GB, free: 254.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/1.098, allocations: 2.614 MB / 1.3 GB, free: 254 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.099, allocations: 1.489 MB / 1.302 GB, free: 253.3 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.099, allocations: 7.094 kB / 1.302 GB, free: 253.3 MB / 0.8386 GB Notification: Performance of Templates: time 0.0407/1.14, allocations: 30.25 MB / 1.331 GB, free: 252 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)