Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008623/0.008623, allocations: 100.2 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.001756/0.001756, allocations: 194.7 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 1.8/1.8, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002346, allocations: 282.6 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002961/0.002961, allocations: 94.06 kB / 0.5951 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1988, allocations: 86.98 MB / 0.6801 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00889/0.2077, allocations: 6.724 MB / 0.6867 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.2132, allocations: 3.046 MB / 0.6896 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008921/0.2141, allocations: 19.88 kB / 0.6896 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002571/0.2168, allocations: 0.8943 MB / 0.6905 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.2183, allocations: 489.6 kB / 0.691 GB, free: 5.988 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.2196, allocations: 371.3 kB / 0.6913 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.2214, allocations: 1.587 MB / 0.6929 GB, free: 4.035 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.2225, allocations: 0.6443 MB / 0.6935 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006625/0.2232, allocations: 422.2 kB / 0.6939 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.2238, allocations: 0.5215 MB / 0.6944 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.711e-05/0.2239, allocations: 48 kB / 0.6945 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.2249, allocations: 459 kB / 0.6949 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.2252, allocations: 291.2 kB / 0.6952 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004359/0.2256, allocations: 421.8 kB / 0.6956 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009703/0.2266, allocations: 0.9313 MB / 0.6965 GB, free: 328 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2266, allocations: 0 / 0.6965 GB, free: 328 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2266, allocations: 4 kB / 0.6965 GB, free: 324 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.2267, allocations: 0 / 0.6965 GB, free: 324 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002042/0.2287, allocations: 1.157 MB / 0.6976 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2288, allocations: 12.03 kB / 0.6977 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.2304, allocations: 235.6 kB / 0.6979 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008438/0.2312, allocations: 0.5414 MB / 0.6984 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.2313, allocations: 53.67 kB / 0.6985 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.2314, allocations: 56.38 kB / 0.6985 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.233, allocations: 1.097 MB / 0.6996 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.233, allocations: 15.78 kB / 0.6996 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.2331, allocations: 27.98 kB / 0.6996 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.2333, allocations: 85.25 kB / 0.6997 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2345, allocations: 0.7543 MB / 0.7004 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.2405, allocations: 5.889 MB / 0.7062 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.2416, allocations: 0.5508 MB / 0.7067 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.242, allocations: 330 kB / 0.707 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.2421, allocations: 8.422 kB / 0.7071 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.2421, allocations: 39 kB / 0.7071 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 2.966e-06/0.2421, allocations: 0 / 0.7071 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48): time 0.004057/0.2462, allocations: 1.986 MB / 0.709 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.2463, allocations: 55.84 kB / 0.7091 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.247, allocations: 0.5509 MB / 0.7096 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.247, allocations: 29.7 kB / 0.7096 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.2474, allocations: 418.9 kB / 0.71 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2475, allocations: 169.6 kB / 0.7102 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.2478, allocations: 134.5 kB / 0.7103 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2479, allocations: 370.7 kB / 0.7107 GB, free: 1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.2484, allocations: 277.8 kB / 0.711 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.2491, allocations: 496.9 kB / 0.7114 GB, free: 152 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2502, allocations: 0.8133 MB / 0.7122 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2502, allocations: 4 kB / 0.7122 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00192/0.2521, allocations: 1.082 MB / 0.7133 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.2521, allocations: 8.875 kB / 0.7133 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2522, allocations: 15.94 kB / 0.7133 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009153/0.2531, allocations: 279.2 kB / 0.7136 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2536, allocations: 127.7 kB / 0.7137 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.2599, allocations: 6.587 MB / 0.7201 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.2605, allocations: 31.97 kB / 0.7202 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.2606, allocations: 32 kB / 0.7202 GB, free: 6.512 MB / 0.5137 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003808/0.261, allocations: 258.8 kB / 0.7204 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2611, allocations: 79.19 kB / 0.7205 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.2627, allocations: 0.8808 MB / 0.7214 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.2627, allocations: 11.98 kB / 0.7214 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2627, allocations: 4 kB / 0.7214 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2628, allocations: 0 / 0.7214 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.2654, allocations: 1.732 MB / 0.7231 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.2654, allocations: 7.938 kB / 0.7231 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.2657, allocations: 63.83 kB / 0.7231 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/0.2664, allocations: 267.5 kB / 0.7234 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.2665, allocations: 12 kB / 0.7234 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/0.2735, allocations: 6.587 MB / 0.7298 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2735, allocations: 0 / 0.7298 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2751, allocations: 0.9797 MB / 0.7308 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.2754, allocations: 196.2 kB / 0.731 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.112e-05/0.2755, allocations: 15.94 kB / 0.731 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/0.2758, allocations: 31.91 kB / 0.731 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.862e-05/0.2759, allocations: 43.88 kB / 0.7311 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.276, allocations: 12 kB / 0.7311 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004445/0.2764, allocations: 387.1 kB / 0.7315 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2764, allocations: 0 / 0.7315 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008202/0.2772, allocations: 224 kB / 0.7317 GB, free: 10.03 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.2774, allocations: 115.2 kB / 0.7318 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.2794, allocations: 1.268 MB / 0.733 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.2794, allocations: 4 kB / 0.733 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.2806, allocations: 0.8816 MB / 0.7339 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/0.2816, allocations: 209.2 kB / 0.7341 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2841, allocations: 1.713 MB / 0.7358 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.2847, allocations: 1.008 MB / 0.7367 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2849, allocations: 47.44 kB / 0.7368 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.2849, allocations: 0 / 0.7368 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of Templates: time 0.02294/0.3079, allocations: 20.63 MB / 0.7569 GB, free: 16 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1