Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.000915, allocations: 91.92 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.001074/0.001074, allocations: 179.7 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.322/1.322, allocations: 223.2 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 266.7 kB / 292.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9426/0.9426, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 15.25 kB / 0.5993 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1655, 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): time 0.01278/0.1783, allocations: 10.35 MB / 0.6959 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01343/0.1918, allocations: 8.671 MB / 0.7044 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.1933, allocations: 47.69 kB / 0.7044 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1945, allocations: 281.8 kB / 0.7047 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005137/0.1997, allocations: 1.401 MB / 0.706 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.2016, allocations: 0.6113 MB / 0.7066 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003514/0.2051, allocations: 2.906 MB / 0.7095 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.2086, allocations: 1.956 MB / 0.7114 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.2101, allocations: 0.8167 MB / 0.7122 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.2117, allocations: 0.9453 MB / 0.7131 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003053/0.212, allocations: 60 kB / 0.7132 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.2139, allocations: 0.885 MB / 0.714 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006094/0.2145, allocations: 486.3 kB / 0.7145 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.2156, allocations: 0.8019 MB / 0.7153 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002246/0.2179, allocations: 1.975 MB / 0.7172 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2179, allocations: 7.938 kB / 0.7172 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2179, allocations: 0 / 0.7172 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.918e-05/0.218, allocations: 0 / 0.7172 GB, free: 14.74 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003565/0.2216, allocations: 1.71 MB / 0.7189 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2216, allocations: 12.02 kB / 0.7189 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.2331, allocations: 2.113 MB / 0.721 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.2354, allocations: 1.119 MB / 0.7221 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.2355, allocations: 86.64 kB / 0.7221 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.2359, allocations: 128 kB / 0.7223 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006005/0.2419, allocations: 2.499 MB / 0.7247 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.2419, allocations: 11.94 kB / 0.7247 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.2421, allocations: 51.98 kB / 0.7248 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000353/0.2425, allocations: 130.1 kB / 0.7249 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007559/0.25, allocations: 2.588 MB / 0.7274 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/0.2641, allocations: 10.13 MB / 0.7373 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00632/0.2704, allocations: 2.003 MB / 0.7393 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.2733, allocations: 0.9972 MB / 0.7402 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.2733, allocations: 4.438 kB / 0.7402 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.2734, allocations: 43 kB / 0.7403 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.2734, allocations: 0 / 0.7403 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.03139/0.3048, allocations: 8.777 MB / 0.7488 GB, free: 13.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3048, allocations: 64.06 kB / 0.7489 GB, free: 13.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.3067, allocations: 1.093 MB / 0.75 GB, free: 12.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.3068, allocations: 41.7 kB / 0.75 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.3075, allocations: 0.7379 MB / 0.7507 GB, free: 11.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.3078, allocations: 284 kB / 0.751 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.308, allocations: 77.69 kB / 0.7511 GB, free: 10.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3081, allocations: 341.9 kB / 0.7514 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/0.3112, allocations: 1.091 MB / 0.7525 GB, free: 9.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003167/0.3144, allocations: 1.329 MB / 0.7538 GB, free: 8.121 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006596/0.321, allocations: 2.421 MB / 0.7561 GB, free: 5.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.321, allocations: 3.938 kB / 0.7561 GB, free: 5.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009169/0.3302, allocations: 3.323 MB / 0.7594 GB, free: 2.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.3302, allocations: 8 kB / 0.7594 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.3303, allocations: 8 kB / 0.7594 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002851/0.3331, allocations: 0.7879 MB / 0.7602 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.335, allocations: 423.3 kB / 0.7606 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01555/0.3506, allocations: 14.71 MB / 0.7749 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.353, allocations: 299.6 kB / 0.7752 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.3532, allocations: 55.95 kB / 0.7753 GB, free: 0.8711 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008093/0.3541, allocations: 400.2 kB / 0.7757 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.3545, allocations: 142.3 kB / 0.7758 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3595/0.714, allocations: 3.244 MB / 0.779 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.7141, allocations: 8.094 kB / 0.779 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/0.7141, allocations: 7.969 kB / 0.779 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.7141, allocations: 4.922 kB / 0.779 GB, free: 87.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.7253, allocations: 4.948 MB / 0.7838 GB, free: 86.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.7253, allocations: 3.531 kB / 0.7838 GB, free: 86.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001703/0.727, allocations: 365.5 kB / 0.7842 GB, free: 86.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/0.7293, allocations: 0.7013 MB / 0.7848 GB, free: 86.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.236e-05/0.7294, allocations: 33.58 kB / 0.7849 GB, free: 86.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.7411, allocations: 14.34 MB / 0.7989 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7412, allocations: 1.375 kB / 0.7989 GB, free: 74.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00757/0.7488, allocations: 3.082 MB / 0.8019 GB, free: 73.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.7494, allocations: 397.5 kB / 0.8023 GB, free: 73.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.7496, allocations: 17.03 kB / 0.8023 GB, free: 73.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.7514, allocations: 297.8 kB / 0.8026 GB, free: 73.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.7517, allocations: 84.73 kB / 0.8026 GB, free: 73.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.995e-05/0.7518, allocations: 41.97 kB / 0.8027 GB, free: 73.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009399/0.7527, allocations: 0.7359 MB / 0.8034 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7527, allocations: 1.031 kB / 0.8034 GB, free: 72.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001414/0.7541, allocations: 433.6 kB / 0.8038 GB, free: 72.93 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002276/0.7544, allocations: 129.5 kB / 0.8039 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008241/0.7626, allocations: 3.664 MB / 0.8075 GB, free: 71.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.7626, allocations: 0 / 0.8075 GB, free: 71.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005016/0.7677, allocations: 2.389 MB / 0.8099 GB, free: 69.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.7705, allocations: 488.7 kB / 0.8103 GB, free: 69.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.7776, allocations: 4.208 MB / 0.8144 GB, free: 66.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/0.7785, allocations: 1.389 MB / 0.8158 GB, free: 65.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.779, allocations: 127.8 kB / 0.8159 GB, free: 65.78 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.779, allocations: 0 / 0.8159 GB, free: 65.78 MB / 0.5606 GB Notification: Performance of Templates: time 0.05627/0.8353, allocations: 74.79 MB / 0.8889 GB, free: 12.98 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLineCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLineCalcHelperMain.o] Error 1