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.0008806/0.0008806, allocations: 99.34 kB / 16.02 MB, free: 76 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.0008631/0.000863, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.354/1.354, allocations: 223.2 MB / 240.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 267.1 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005105, allocations: 16.69 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1741, allocations: 88.55 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006411/0.1806, allocations: 5.651 MB / 0.6913 GB, free: 9.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1852, allocations: 3.118 MB / 0.6944 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.1856, allocations: 23.81 kB / 0.6944 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.1859, allocations: 123.5 kB / 0.6945 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009084/0.1868, allocations: 442.6 kB / 0.6949 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.1878, allocations: 447.6 kB / 0.6953 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1892, allocations: 1.456 MB / 0.6968 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.1908, allocations: 0.999 MB / 0.6977 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000479/0.1912, allocations: 358.4 kB / 0.6981 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.1918, allocations: 438.2 kB / 0.6985 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.1918, allocations: 32 kB / 0.6985 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008707/0.1927, allocations: 0.5652 MB / 0.6991 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.193, allocations: 255.2 kB / 0.6993 GB, free: 1.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003256/0.1933, allocations: 387.7 kB / 0.6997 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008247/0.1941, allocations: 0.8883 MB / 0.7006 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1941, allocations: 3.938 kB / 0.7006 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1941, allocations: 0 / 0.7006 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.1942, allocations: 0 / 0.7006 GB, free: 15.86 MB / 0.4981 GB 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.001276/0.1954, allocations: 0.9077 MB / 0.7015 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1955, allocations: 12.03 kB / 0.7015 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.1969, allocations: 223.7 kB / 0.7017 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1976, allocations: 0.5259 MB / 0.7022 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.1977, allocations: 49.67 kB / 0.7022 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1978, allocations: 68.34 kB / 0.7023 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1992, allocations: 1.03 MB / 0.7033 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1992, allocations: 4 kB / 0.7033 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.1993, allocations: 31.98 kB / 0.7033 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.379e-05/0.1994, allocations: 69.2 kB / 0.7034 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2004, allocations: 0.6918 MB / 0.7041 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004837/0.2052, allocations: 5.776 MB / 0.7097 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008156/0.2061, allocations: 0.6026 MB / 0.7103 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007702/0.2069, allocations: 416.6 kB / 0.7107 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.2069, allocations: 12 kB / 0.7107 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.2069, allocations: 30.56 kB / 0.7108 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.014e-06/0.2069, allocations: 0 / 0.7108 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.004298/0.2112, allocations: 2.073 MB / 0.7128 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.2113, allocations: 59.39 kB / 0.7128 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.2118, allocations: 454.8 kB / 0.7133 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.2118, allocations: 29.7 kB / 0.7133 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.2121, allocations: 391 kB / 0.7137 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.2122, allocations: 153.8 kB / 0.7138 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/0.2123, allocations: 53.69 kB / 0.7139 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2124, allocations: 362.8 kB / 0.7142 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2128, allocations: 249.2 kB / 0.7145 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.2133, allocations: 457 kB / 0.7149 GB, free: 280 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/0.2142, allocations: 0.7519 MB / 0.7156 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2142, allocations: 0 / 0.7156 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001788/0.216, allocations: 1.066 MB / 0.7167 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.216, allocations: 8 kB / 0.7167 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2161, allocations: 8 kB / 0.7167 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2171, allocations: 323.5 kB / 0.717 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000303/0.2174, allocations: 99.83 kB / 0.7171 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006859/0.2243, allocations: 6.954 MB / 0.7239 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.2247, allocations: 32.02 kB / 0.7239 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.093e-05/0.2247, allocations: 24 kB / 0.7239 GB, free: 6.352 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.0003738/0.2251, allocations: 251.5 kB / 0.7242 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.2252, allocations: 59.25 kB / 0.7242 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.227, allocations: 0.9197 MB / 0.7251 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.227, allocations: 8 kB / 0.7251 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.227, allocations: 8 kB / 0.7251 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.227, allocations: 0 / 0.7251 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.2298, allocations: 1.705 MB / 0.7268 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2298, allocations: 4 kB / 0.7268 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.23, allocations: 39.91 kB / 0.7268 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009714/0.231, allocations: 323.3 kB / 0.7271 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.231, allocations: 8 kB / 0.7272 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006871/0.2379, allocations: 6.95 MB / 0.7339 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2379, allocations: 4 kB / 0.7339 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.2397, allocations: 1.015 MB / 0.7349 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.24, allocations: 176.3 kB / 0.7351 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.2401, allocations: 8 kB / 0.7351 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.2403, allocations: 23.97 kB / 0.7351 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.911e-05/0.2405, allocations: 43.94 kB / 0.7352 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.2405, allocations: 15.94 kB / 0.7352 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003353/0.2408, allocations: 306.9 kB / 0.7355 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.825e-06/0.2408, allocations: 3.938 kB / 0.7355 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007832/0.2416, allocations: 195.9 kB / 0.7357 GB, free: 9.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.0001417/0.2418, allocations: 107.2 kB / 0.7358 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.2438, allocations: 1.214 MB / 0.737 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2438, allocations: 4.125 kB / 0.737 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.245, allocations: 0.8542 MB / 0.7378 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.2461, allocations: 179.8 kB / 0.738 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.2485, allocations: 1.604 MB / 0.7395 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.2492, allocations: 0.992 MB / 0.7405 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2493, allocations: 35.44 kB / 0.7405 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2494, allocations: 4 kB / 0.7405 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of Templates: time 0.02273/0.2721, allocations: 18.37 MB / 0.7585 GB, free: 2.074 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