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.001007/0.001007, allocations: 91.61 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 177 kB / 16.92 MB, free: 6.652 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.428/1.428, allocations: 223.2 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.001761, allocations: 267.1 kB / 292.3 MB, free: 1.832 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.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 19.47 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 88.55 MB / 0.6858 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01623/0.1987, allocations: 13.4 MB / 0.6989 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.2136, allocations: 9.272 MB / 0.7079 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.2156, allocations: 51.62 kB / 0.708 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.2171, allocations: 273.8 kB / 0.7082 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.2224, allocations: 1.412 MB / 0.7096 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.2246, allocations: 0.6807 MB / 0.7103 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004492/0.2291, allocations: 3.175 MB / 0.7134 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.2331, allocations: 1.979 MB / 0.7153 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.2349, allocations: 0.8714 MB / 0.7162 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.237, allocations: 1.058 MB / 0.7172 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.2375, allocations: 72 kB / 0.7173 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.2397, allocations: 0.8655 MB / 0.7181 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.2406, allocations: 0.51 MB / 0.7186 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.2423, allocations: 0.8447 MB / 0.7194 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.2457, allocations: 2.139 MB / 0.7215 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2457, allocations: 0 / 0.7215 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2458, allocations: 0 / 0.7215 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001287/0.2459, allocations: 0 / 0.7215 GB, free: 10.26 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.005486/0.2514, allocations: 1.82 MB / 0.7233 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2514, allocations: 8.031 kB / 0.7233 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/0.2638, allocations: 2.148 MB / 0.7254 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.267, allocations: 1.205 MB / 0.7266 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.2671, allocations: 90.73 kB / 0.7267 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005989/0.2677, allocations: 120.1 kB / 0.7268 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007371/0.2751, allocations: 2.703 MB / 0.7294 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/0.2752, allocations: 7.938 kB / 0.7294 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.2755, allocations: 55.98 kB / 0.7295 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006882/0.2762, allocations: 178.1 kB / 0.7297 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008511/0.2848, allocations: 2.854 MB / 0.7324 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02062/0.3054, allocations: 10.56 MB / 0.7428 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007589/0.3131, allocations: 2.582 MB / 0.7453 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003563/0.3167, allocations: 1.311 MB / 0.7466 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.3168, allocations: 16.98 kB / 0.7466 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.3169, allocations: 47.56 kB / 0.7466 GB, free: 15.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 4.608e-06/0.3169, allocations: 0 / 0.7466 GB, free: 15.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.04857/0.3655, allocations: 13.45 MB / 0.7598 GB, free: 1.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.3656, allocations: 68.72 kB / 0.7598 GB, free: 1.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.3676, allocations: 1.117 MB / 0.7609 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.3679, allocations: 49.7 kB / 0.761 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/0.3686, allocations: 0.7041 MB / 0.7616 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006624/0.3692, allocations: 457.4 kB / 0.7621 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.3696, allocations: 109.7 kB / 0.7622 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3698, allocations: 365.9 kB / 0.7625 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/0.3734, allocations: 1.358 MB / 0.7639 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.3771, allocations: 1.628 MB / 0.7655 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/0.3846, allocations: 3.03 MB / 0.7684 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.3846, allocations: 4 kB / 0.7684 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01243/0.3971, allocations: 4.486 MB / 0.7728 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.3971, allocations: 8 kB / 0.7728 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3972, allocations: 8 kB / 0.7728 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005515/0.4027, allocations: 1.435 MB / 0.7742 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/0.405, allocations: 443.3 kB / 0.7746 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4476/0.8526, allocations: 24.56 MB / 0.7986 GB, free: 71.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.8555, allocations: 316.8 kB / 0.7989 GB, free: 71.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.8557, allocations: 59.09 kB / 0.799 GB, free: 71.25 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.000841/0.8566, allocations: 441.1 kB / 0.7994 GB, free: 70.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.8569, allocations: 164.7 kB / 0.7996 GB, free: 70.97 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.8687, allocations: 4.488 MB / 0.8039 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.8688, allocations: 13.94 kB / 0.804 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.92e-05/0.8688, allocations: 13.31 kB / 0.804 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.8689, allocations: 11.67 kB / 0.804 GB, free: 69.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.8842, allocations: 6.821 MB / 0.8106 GB, free: 67.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.8843, allocations: 3.344 kB / 0.8106 GB, free: 67.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.8862, allocations: 397.9 kB / 0.811 GB, free: 67.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005365/0.8916, allocations: 1.303 MB / 0.8123 GB, free: 66.65 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002416/0.8919, allocations: 40.17 kB / 0.8123 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/0.9122, allocations: 23.52 MB / 0.8353 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.9123, allocations: 6.688 kB / 0.8353 GB, free: 45.67 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.9229, allocations: 4.249 MB / 0.8395 GB, free: 43.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.9239, allocations: 456.9 kB / 0.8399 GB, free: 42.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.9242, allocations: 27.94 kB / 0.8399 GB, free: 42.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/0.9262, allocations: 323.5 kB / 0.8402 GB, free: 42.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/0.9267, allocations: 127.3 kB / 0.8403 GB, free: 42.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.9268, allocations: 51.53 kB / 0.8404 GB, free: 42.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008963/0.9277, allocations: 0.7513 MB / 0.8411 GB, free: 42.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9277, allocations: 0 / 0.8411 GB, free: 42.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002242/0.93, allocations: 0.5676 MB / 0.8417 GB, free: 42.16 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.0003109/0.9303, allocations: 147.2 kB / 0.8418 GB, free: 42.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.9406, allocations: 5.157 MB / 0.8469 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.283e-05/0.9407, allocations: 3.75 kB / 0.8469 GB, free: 38.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006173/0.9469, allocations: 3.504 MB / 0.8503 GB, free: 35.57 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/0.95, allocations: 0.5111 MB / 0.8508 GB, free: 35.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007711/0.9577, allocations: 4.812 MB / 0.8555 GB, free: 30.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/0.9586, allocations: 1.48 MB / 0.8569 GB, free: 28.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.9592, allocations: 127.3 kB / 0.857 GB, free: 28.58 MB / 0.5606 GB Notification: Performance of SimCode: time 2.304e-06/0.9592, allocations: 0 / 0.857 GB, free: 28.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.1031/1.062, allocations: 112.3 MB / 0.9667 GB, free: 12.31 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