Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01152/0.01152, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00222/0.00222, allocations: 193.2 kB / 16.79 MB, free: 5.809 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.571/1.571, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 294.6 kB / 290.9 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.152/1.152, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 92.12 kB / 0.5951 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2216, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005092/0.2267, allocations: 3.1 MB / 0.6831 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.23, allocations: 1.937 MB / 0.685 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.2302, allocations: 0 / 0.685 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.2312, allocations: 269.9 kB / 0.6853 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.2318, allocations: 183.2 kB / 0.6854 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.2326, allocations: 207.5 kB / 0.6856 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.2332, allocations: 450.7 kB / 0.6861 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.2336, allocations: 173 kB / 0.6862 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.2339, allocations: 115.5 kB / 0.6863 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.2342, allocations: 151.5 kB / 0.6865 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.2343, allocations: 12 kB / 0.6865 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008884/0.2352, allocations: 471.1 kB / 0.6869 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2353, allocations: 83.78 kB / 0.687 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.2355, allocations: 111.4 kB / 0.6871 GB, free: 9.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.236, allocations: 375.2 kB / 0.6875 GB, free: 9.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.236, allocations: 4 kB / 0.6875 GB, free: 9.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2361, allocations: 7.938 kB / 0.6875 GB, free: 9.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.2361, allocations: 0 / 0.6875 GB, free: 9.543 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001047/0.2371, allocations: 0.5497 MB / 0.688 GB, free: 8.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.2372, allocations: 12.03 kB / 0.688 GB, free: 8.934 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.238, allocations: 104.5 kB / 0.6881 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.2384, allocations: 263.8 kB / 0.6884 GB, free: 8.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2384, allocations: 16.81 kB / 0.6884 GB, free: 8.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.2385, allocations: 24.36 kB / 0.6884 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.239, allocations: 353.3 kB / 0.6888 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2391, allocations: 0 / 0.6888 GB, free: 8.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.2391, allocations: 11.98 kB / 0.6888 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/0.2391, allocations: 24.42 kB / 0.6888 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.2396, allocations: 301.4 kB / 0.6891 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2419, allocations: 1.737 MB / 0.6908 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.2424, allocations: 322.1 kB / 0.6911 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2425, allocations: 105.6 kB / 0.6912 GB, free: 5.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.2427, allocations: 89.09 kB / 0.6913 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.2427, allocations: 38.56 kB / 0.6913 GB, free: 5.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.2427, allocations: 0 / 0.6913 GB, free: 5.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002529/0.2452, allocations: 0.9628 MB / 0.6923 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.2453, allocations: 85.14 kB / 0.6923 GB, free: 4.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2456, allocations: 224.2 kB / 0.6926 GB, free: 3.953 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.2456, allocations: 25.7 kB / 0.6926 GB, free: 3.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.2457, allocations: 172.1 kB / 0.6927 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.2458, allocations: 78.91 kB / 0.6928 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2459, allocations: 61.69 kB / 0.6929 GB, free: 3.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.246, allocations: 330.8 kB / 0.6932 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.2463, allocations: 131.9 kB / 0.6933 GB, free: 3.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.2466, allocations: 210.5 kB / 0.6935 GB, free: 2.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.247, allocations: 366.5 kB / 0.6939 GB, free: 2.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2471, allocations: 4 kB / 0.6939 GB, free: 2.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008713/0.2479, allocations: 0.5082 MB / 0.6944 GB, free: 1.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.248, allocations: 12 kB / 0.6944 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.248, allocations: 4 kB / 0.6944 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.2485, allocations: 151.3 kB / 0.6945 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.2488, allocations: 55.91 kB / 0.6946 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.2521, allocations: 3.965 MB / 0.6985 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2523, allocations: 19.98 kB / 0.6985 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.2524, allocations: 15.98 kB / 0.6985 GB, free: 13.44 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.2526, allocations: 165.8 kB / 0.6987 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.2527, allocations: 23.72 kB / 0.6987 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/0.2536, allocations: 474.5 kB / 0.6991 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2536, allocations: 4 kB / 0.6991 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2536, allocations: 4 kB / 0.6991 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2536, allocations: 0 / 0.6991 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.2552, allocations: 1.013 MB / 0.7001 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.2552, allocations: 4 kB / 0.7001 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2553, allocations: 27.98 kB / 0.7002 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/0.2558, allocations: 151.5 kB / 0.7003 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2558, allocations: 11.94 kB / 0.7003 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002891/0.2587, allocations: 3.946 MB / 0.7042 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.2587, allocations: 4.031 kB / 0.7042 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.2596, allocations: 0.6329 MB / 0.7048 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.2597, allocations: 124.8 kB / 0.7049 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.2598, allocations: 8 kB / 0.7049 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.26, allocations: 11.98 kB / 0.7049 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.2601, allocations: 31.91 kB / 0.705 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2601, allocations: 12 kB / 0.705 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000161/0.2603, allocations: 161.5 kB / 0.7051 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2603, allocations: 3.938 kB / 0.7051 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005553/0.2608, allocations: 91.94 kB / 0.7052 GB, free: 6.039 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002353/0.2611, allocations: 140.4 kB / 0.7053 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009281/0.262, allocations: 0.579 MB / 0.7059 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.262, allocations: 0.625 kB / 0.7059 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.2626, allocations: 401.2 kB / 0.7063 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.2631, allocations: 42.2 kB / 0.7063 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2643, allocations: 0.7632 MB / 0.7071 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.2648, allocations: 0.783 MB / 0.7078 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.2648, allocations: 27.42 kB / 0.7079 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2648, allocations: 0 / 0.7079 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of Templates: time 0.01067/0.2755, allocations: 7.607 MB / 0.7153 GB, free: 11.57 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoadCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1