Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00513/0.005129, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001199/0.001199, allocations: 192.1 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002348/0.002348, allocations: 294.3 kB / 290.9 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.2 MB / 0.4983 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001768, allocations: 92.14 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2056, allocations: 86.99 MB / 0.6801 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03973/0.2454, allocations: 33 MB / 0.7123 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.2709, allocations: 14.79 MB / 0.7268 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005331/0.2763, allocations: 143.2 kB / 0.7269 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.2869, allocations: 3.399 MB / 0.7302 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.2979, allocations: 2.693 MB / 0.7329 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.007506/0.3055, allocations: 2.11 MB / 0.7349 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01657/0.3221, allocations: 12.21 MB / 0.7468 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01737/0.3395, allocations: 10.35 MB / 0.757 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.3463, allocations: 3.437 MB / 0.7603 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007563/0.3539, allocations: 4.096 MB / 0.7643 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002781/0.3567, allocations: 484 kB / 0.7648 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.3627, allocations: 1.739 MB / 0.7665 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.3673, allocations: 2.592 MB / 0.769 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007505/0.3749, allocations: 3.115 MB / 0.772 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.759/1.134, allocations: 9.404 MB / 0.7812 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.134, allocations: 5.078 kB / 0.7812 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.383e-06/1.134, allocations: 0 / 0.7812 GB, free: 34.46 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0004742/1.134, allocations: 0 / 0.7812 GB, free: 34.46 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0228/1.157, allocations: 5.982 MB / 0.7871 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.157, allocations: 9.062 kB / 0.7871 GB, free: 32.38 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/1.168, allocations: 1.137 MB / 0.7882 GB, free: 32.08 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.181, allocations: 3.325 MB / 0.7914 GB, free: 31.34 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/1.181, allocations: 372.3 kB / 0.7918 GB, free: 31.32 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003389/1.184, allocations: 489.8 kB / 0.7923 GB, free: 31.32 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/1.21, allocations: 8.016 MB / 0.8001 GB, free: 30.47 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/1.21, allocations: 23.28 kB / 0.8001 GB, free: 30.46 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00106/1.211, allocations: 218 kB / 0.8003 GB, free: 30.46 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001372/1.212, allocations: 438.9 kB / 0.8007 GB, free: 30.45 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.227, allocations: 6.082 MB / 0.8067 GB, free: 30.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04461/1.272, allocations: 35.15 MB / 0.841 GB, free: 18.89 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.275, allocations: 2.026 MB / 0.843 GB, free: 17.82 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/1.277, allocations: 1.872 MB / 0.8448 GB, free: 16.85 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/1.277, allocations: 17.84 kB / 0.8448 GB, free: 16.85 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/1.277, allocations: 56.38 kB / 0.8449 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=171): time 3.566e-06/1.277, allocations: 0 / 0.8449 GB, free: 16.79 MB / 0.5763 GB Notification: Performance of matching and sorting (n=276): time 0.1472/1.424, allocations: 38.88 MB / 0.8828 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.424, allocations: 81.58 kB / 0.8829 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004089/1.428, allocations: 2.282 MB / 0.8852 GB, free: 20 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005857/1.429, allocations: 69.7 kB / 0.8852 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.431, allocations: 2.282 MB / 0.8874 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.432, allocations: 0.9352 MB / 0.8884 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009759/1.433, allocations: 0.5061 MB / 0.8889 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.433, allocations: 301.1 kB / 0.8891 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/1.436, allocations: 1.973 MB / 0.8911 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003834/1.44, allocations: 2.606 MB / 0.8936 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/1.447, allocations: 4.931 MB / 0.8984 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/1.447, allocations: 7.938 kB / 0.8984 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01618/1.463, allocations: 7.75 MB / 0.906 GB, free: 10.34 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/1.463, allocations: 12 kB / 0.906 GB, free: 10.33 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/1.463, allocations: 20 kB / 0.906 GB, free: 10.31 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009633/1.473, allocations: 3.217 MB / 0.9092 GB, free: 7.078 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.475, allocations: 396.6 kB / 0.9096 GB, free: 6.715 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04292/1.518, allocations: 31.09 MB / 0.9399 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003864/1.522, allocations: 167.8 kB / 0.9401 GB, free: 6.742 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005458/1.522, allocations: 108 kB / 0.9402 GB, free: 6.637 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00468/1.527, allocations: 1.799 MB / 0.9419 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009676/1.528, allocations: 336 kB / 0.9423 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.542, allocations: 7.351 MB / 0.9494 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.542, allocations: 32 kB / 0.9495 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.574e-05/1.542, allocations: 28 kB / 0.9495 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-05/1.542, allocations: 18.34 kB / 0.9495 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.568, allocations: 12.92 MB / 0.9621 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.612e-05/1.568, allocations: 12.12 kB / 0.9621 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.569, allocations: 232.3 kB / 0.9624 GB, free: 16 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00866/1.578, allocations: 2.854 MB / 0.9651 GB, free: 13.13 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005517/1.578, allocations: 55.98 kB / 0.9652 GB, free: 13.08 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04297/1.621, allocations: 29.89 MB / 0.9944 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/1.621, allocations: 11.56 kB / 0.9944 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.636, allocations: 6.892 MB / 1.001 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.639, allocations: 0.7821 MB / 1.002 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.64, allocations: 64.23 kB / 1.002 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.643, allocations: 167.8 kB / 1.002 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/1.644, allocations: 248.8 kB / 1.002 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.644, allocations: 80 kB / 1.002 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003129/1.647, allocations: 1.529 MB / 1.004 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.91e-07/1.647, allocations: 0 / 1.004 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00651/1.654, allocations: 1.367 MB / 1.005 GB, free: 3.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004545/1.654, allocations: 173.9 kB / 1.005 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01162/1.666, allocations: 6.893 MB / 1.012 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.666, allocations: 3.172 kB / 1.012 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008322/1.674, allocations: 4.41 MB / 1.016 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005715/1.68, allocations: 1.031 MB / 1.017 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02147/1.701, allocations: 13.17 MB / 1.03 GB, free: 9.445 MB / 0.7482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004947/1.706, allocations: 3.767 MB / 1.034 GB, free: 5.648 MB / 0.7482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009676/1.707, allocations: 167.4 kB / 1.034 GB, free: 5.484 MB / 0.7482 GB Notification: Performance of SimCode: time 1.182e-06/1.707, allocations: 0 / 1.034 GB, free: 5.484 MB / 0.7482 GB Notification: Performance of Templates: time 0.6125/2.32, allocations: 227.3 MB / 1.256 GB, free: 96.03 MB / 0.7638 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_NCalcHelperMain.o] Error 1