Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0111/0.0111, allocations: 100.8 kB / 15.87 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002715/0.002715, allocations: 194.9 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.058/2.058, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002231/0.002231, allocations: 278.8 kB / 290.9 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.126/1.126, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002038, allocations: 94 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1964, allocations: 86.99 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01723/0.2137, allocations: 13.95 MB / 0.6937 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.2297, allocations: 9.386 MB / 0.7029 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.2315, allocations: 51.62 kB / 0.7029 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004873/0.2364, allocations: 1.548 MB / 0.7044 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006093/0.2425, allocations: 1.407 MB / 0.7058 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.2452, allocations: 0.6899 MB / 0.7065 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005072/0.2503, allocations: 3.179 MB / 0.7096 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.2529, allocations: 1.348 MB / 0.7109 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.2548, allocations: 0.9299 MB / 0.7118 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.2571, allocations: 1.152 MB / 0.7129 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005412/0.2577, allocations: 96 kB / 0.713 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.2605, allocations: 0.8812 MB / 0.7139 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009478/0.2615, allocations: 0.5568 MB / 0.7144 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.2634, allocations: 0.8781 MB / 0.7153 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.2665, allocations: 2.178 MB / 0.7174 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.2665, allocations: 4 kB / 0.7174 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2665, allocations: 0 / 0.7174 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001189/0.2666, allocations: 0 / 0.7174 GB, free: 10.8 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006255/0.2729, allocations: 2.139 MB / 0.7195 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2729, allocations: 11.97 kB / 0.7195 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.2899, allocations: 2.085 MB / 0.7216 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/0.2941, allocations: 1.189 MB / 0.7227 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2943, allocations: 94.73 kB / 0.7228 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005447/0.2948, allocations: 135.9 kB / 0.7229 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00994/0.3048, allocations: 2.675 MB / 0.7256 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.3049, allocations: 7.938 kB / 0.7256 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001869/0.3051, allocations: 51.98 kB / 0.7256 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006338/0.3057, allocations: 186.1 kB / 0.7258 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.3168, allocations: 2.791 MB / 0.7285 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01911/0.336, allocations: 10.5 MB / 0.7388 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006836/0.3429, allocations: 2.529 MB / 0.7412 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004238/0.3472, allocations: 1.292 MB / 0.7425 GB, free: 204 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.3473, allocations: 12.98 kB / 0.7425 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.3474, allocations: 47.5 kB / 0.7426 GB, free: 132 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=89): time 5.981e-06/0.3474, allocations: 0 / 0.7426 GB, free: 132 kB / 0.5294 GB Notification: Performance of matching and sorting (n=131): time 0.04622/0.3937, allocations: 13.35 MB / 0.7556 GB, free: 2.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.3938, allocations: 64.72 kB / 0.7557 GB, free: 2.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.3955, allocations: 1.121 MB / 0.7568 GB, free: 1.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.3957, allocations: 45.7 kB / 0.7568 GB, free: 1.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.3963, allocations: 0.7117 MB / 0.7575 GB, free: 0.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/0.3967, allocations: 457.4 kB / 0.7579 GB, free: 132 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005342/0.3973, allocations: 259.5 kB / 0.7582 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3975, allocations: 365.9 kB / 0.7585 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/0.4006, allocations: 1.339 MB / 0.7598 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/0.4039, allocations: 1.608 MB / 0.7614 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006433/0.4104, allocations: 2.991 MB / 0.7643 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4104, allocations: 4 kB / 0.7643 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01119/0.4216, allocations: 4.446 MB / 0.7687 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.4217, allocations: 8 kB / 0.7687 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.4217, allocations: 8 kB / 0.7687 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.428, allocations: 1.436 MB / 0.7701 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.4307, allocations: 435.2 kB / 0.7705 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.533/0.9637, allocations: 24.55 MB / 0.7945 GB, free: 72.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.9665, allocations: 301 kB / 0.7948 GB, free: 72.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.9667, allocations: 64.89 kB / 0.7948 GB, free: 72.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009223/0.9676, allocations: 437.4 kB / 0.7953 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.968, allocations: 160.4 kB / 0.7954 GB, free: 72.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.9797, allocations: 4.458 MB / 0.7998 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.9798, allocations: 14.38 kB / 0.7998 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.099e-05/0.9798, allocations: 12.7 kB / 0.7998 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.9798, allocations: 5.766 kB / 0.7998 GB, free: 71.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.9944, allocations: 6.767 MB / 0.8064 GB, free: 68.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.9944, allocations: 2.25 kB / 0.8064 GB, free: 68.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/0.9961, allocations: 379.5 kB / 0.8068 GB, free: 68.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005119/1.001, allocations: 1.311 MB / 0.808 GB, free: 68.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.001, allocations: 39.97 kB / 0.8081 GB, free: 68.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02306/1.025, allocations: 23.5 MB / 0.831 GB, free: 47.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.025, allocations: 7.828 kB / 0.831 GB, free: 47.35 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.036, allocations: 4.204 MB / 0.8351 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.037, allocations: 456.9 kB / 0.8356 GB, free: 44.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002426/1.037, allocations: 23.91 kB / 0.8356 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.039, allocations: 309.4 kB / 0.8359 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005189/1.04, allocations: 127.7 kB / 0.836 GB, free: 44.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.04, allocations: 47.47 kB / 0.8361 GB, free: 44.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009635/1.041, allocations: 0.7516 MB / 0.8368 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.041, allocations: 0 / 0.8368 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002264/1.043, allocations: 0.5731 MB / 0.8374 GB, free: 43.86 MB / 0.5606 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003/1.043, allocations: 149.2 kB / 0.8375 GB, free: 43.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009641/1.053, allocations: 5.123 MB / 0.8425 GB, free: 40.36 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.053, allocations: 4.125 kB / 0.8425 GB, free: 40.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006018/1.059, allocations: 3.486 MB / 0.8459 GB, free: 37.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.062, allocations: 0.523 MB / 0.8464 GB, free: 37.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007881/1.069, allocations: 4.767 MB / 0.8511 GB, free: 32.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009708/1.07, allocations: 1.477 MB / 0.8525 GB, free: 30.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/1.071, allocations: 131.3 kB / 0.8526 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.071, allocations: 0 / 0.8526 GB, free: 30.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.1147/1.186, allocations: 112.5 MB / 0.9625 GB, free: 14.18 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineCalcHelperMain.o] Error 1