Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01011/0.01011, allocations: 101.1 kB / 15.88 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.001537/0.001538, allocations: 193 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 282.8 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.2 MB / 0.4983 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 98.61 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2335, allocations: 86.99 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.009757/0.2433, allocations: 6.061 MB / 0.686 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005948/0.2493, allocations: 3.175 MB / 0.6891 GB, free: 7.906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/0.2502, allocations: 23.81 kB / 0.6891 GB, free: 7.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.253, allocations: 0.8758 MB / 0.69 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2545, allocations: 438 kB / 0.6904 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.2559, allocations: 446 kB / 0.6908 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.2579, allocations: 1.455 MB / 0.6923 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.2592, allocations: 0.6289 MB / 0.6929 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.2601, allocations: 386.3 kB / 0.6932 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000968/0.2611, allocations: 486.2 kB / 0.6937 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.2613, allocations: 40 kB / 0.6937 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2626, allocations: 0.5808 MB / 0.6943 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.2631, allocations: 279.2 kB / 0.6946 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.2639, allocations: 381.9 kB / 0.6949 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.2654, allocations: 0.9118 MB / 0.6958 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.2654, allocations: 0 / 0.6958 GB, free: 1.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2654, allocations: 0 / 0.6958 GB, free: 1.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.2655, allocations: 0 / 0.6958 GB, free: 1.012 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002506/0.268, allocations: 1.048 MB / 0.6969 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.268, allocations: 12.03 kB / 0.6969 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.2698, allocations: 215.6 kB / 0.6971 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.2708, allocations: 0.5376 MB / 0.6976 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.2708, allocations: 45.67 kB / 0.6976 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.271, allocations: 60.38 kB / 0.6977 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2727, allocations: 1.038 MB / 0.6987 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.2728, allocations: 7.938 kB / 0.6987 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.2729, allocations: 31.92 kB / 0.6987 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.273, allocations: 73.27 kB / 0.6988 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2742, allocations: 0.6879 MB / 0.6995 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005769/0.28, allocations: 5.76 MB / 0.7051 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008857/0.2809, allocations: 0.5871 MB / 0.7057 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.2817, allocations: 416.6 kB / 0.7061 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.2817, allocations: 4 kB / 0.7061 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.2818, allocations: 34.56 kB / 0.7061 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.563e-06/0.2818, allocations: 0 / 0.7061 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004486/0.2863, allocations: 2.061 MB / 0.7081 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.2863, allocations: 63.34 kB / 0.7082 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.2869, allocations: 454.7 kB / 0.7086 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.2869, allocations: 33.7 kB / 0.7087 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.2872, allocations: 387 kB / 0.709 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.2874, allocations: 153.8 kB / 0.7092 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.2876, allocations: 106.2 kB / 0.7093 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.2878, allocations: 366.8 kB / 0.7096 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.2882, allocations: 245.2 kB / 0.7099 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/0.2888, allocations: 461 kB / 0.7103 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.2901, allocations: 0.7518 MB / 0.711 GB, free: 432 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.2901, allocations: 4 kB / 0.711 GB, free: 428 kB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002611/0.2927, allocations: 1.062 MB / 0.7121 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.2928, allocations: 8 kB / 0.7121 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.2928, allocations: 4 kB / 0.7121 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.2941, allocations: 343.3 kB / 0.7124 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.2945, allocations: 95.83 kB / 0.7125 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008423/0.3029, allocations: 6.947 MB / 0.7193 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.3035, allocations: 28.02 kB / 0.7193 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.3036, allocations: 28 kB / 0.7193 GB, free: 7.344 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.304, allocations: 247.5 kB / 0.7196 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3042, allocations: 59.34 kB / 0.7196 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.3062, allocations: 0.9158 MB / 0.7205 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3062, allocations: 4 kB / 0.7205 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/0.3063, allocations: 8 kB / 0.7205 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3063, allocations: 0 / 0.7205 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/0.3104, allocations: 1.709 MB / 0.7222 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/0.3105, allocations: 96 / 0.7222 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3107, allocations: 47.84 kB / 0.7223 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/0.3123, allocations: 335.2 kB / 0.7226 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.3123, allocations: 8 kB / 0.7226 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007462/0.3198, allocations: 6.935 MB / 0.7294 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3198, allocations: 4 kB / 0.7294 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3219, allocations: 1.019 MB / 0.7304 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/0.3223, allocations: 168.4 kB / 0.7305 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3224, allocations: 11.98 kB / 0.7305 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.3228, allocations: 23.98 kB / 0.7305 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.3229, allocations: 43.88 kB / 0.7306 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.323, allocations: 19.94 kB / 0.7306 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004428/0.3234, allocations: 302.9 kB / 0.7309 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3234, allocations: 0 / 0.7309 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001024/0.3245, allocations: 196 kB / 0.7311 GB, free: 10.59 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.3247, allocations: 121.2 kB / 0.7312 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002128/0.3268, allocations: 1.191 MB / 0.7324 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3268, allocations: 0 / 0.7324 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.3281, allocations: 0.8776 MB / 0.7332 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.3292, allocations: 189 kB / 0.7334 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.3321, allocations: 1.582 MB / 0.7349 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.333, allocations: 0.9921 MB / 0.7359 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.3331, allocations: 39.44 kB / 0.736 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.3331, allocations: 3.938 kB / 0.736 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of Templates: time 0.0259/0.359, allocations: 18.44 MB / 0.754 GB, free: 3.008 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_LCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1