Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007785/0.007784, allocations: 101.1 kB / 15.88 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.001666/0.001666, allocations: 190 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.463/1.463, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 298.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.044/1.044, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 89.14 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2022, allocations: 86.98 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.006259/0.2085, allocations: 3.866 MB / 0.6838 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.2116, allocations: 1.731 MB / 0.6855 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.212, allocations: 8 kB / 0.6855 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001458/0.2135, allocations: 487.3 kB / 0.686 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.2142, allocations: 203.1 kB / 0.6862 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000611/0.2148, allocations: 191.6 kB / 0.6864 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.2157, allocations: 0.6699 MB / 0.687 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.2162, allocations: 241.2 kB / 0.6873 GB, free: 9.816 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2165, allocations: 163.4 kB / 0.6874 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/0.217, allocations: 223.1 kB / 0.6876 GB, free: 9.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.2171, allocations: 20 kB / 0.6877 GB, free: 9.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.2177, allocations: 299.4 kB / 0.6879 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.2179, allocations: 119.6 kB / 0.6881 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2181, allocations: 167.1 kB / 0.6882 GB, free: 8.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005982/0.2187, allocations: 395.1 kB / 0.6886 GB, free: 8.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2188, allocations: 0 / 0.6886 GB, free: 8.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2188, allocations: 0 / 0.6886 GB, free: 8.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.2188, allocations: 0 / 0.6886 GB, free: 8.457 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001329/0.2201, allocations: 0.6238 MB / 0.6892 GB, free: 7.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.2202, allocations: 15.97 kB / 0.6892 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.2212, allocations: 132.4 kB / 0.6893 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.2216, allocations: 283.7 kB / 0.6896 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2217, allocations: 21.03 kB / 0.6896 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.2217, allocations: 28.38 kB / 0.6897 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.2225, allocations: 467.8 kB / 0.6901 GB, free: 6.781 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2225, allocations: 4 kB / 0.6901 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.2225, allocations: 12 kB / 0.6901 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.2226, allocations: 28.55 kB / 0.6902 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005557/0.2231, allocations: 317.9 kB / 0.6905 GB, free: 6.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.226, allocations: 2.204 MB / 0.6926 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.2265, allocations: 247.8 kB / 0.6928 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.2267, allocations: 108.8 kB / 0.6929 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.2268, allocations: 0 / 0.6929 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.2268, allocations: 42.56 kB / 0.693 GB, free: 3.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2268, allocations: 4.031 kB / 0.693 GB, free: 3.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008185/0.2276, allocations: 298.7 kB / 0.6933 GB, free: 3.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.2277, allocations: 59.39 kB / 0.6933 GB, free: 3.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.2281, allocations: 266.5 kB / 0.6936 GB, free: 2.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2281, allocations: 33.7 kB / 0.6936 GB, free: 2.891 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.2283, allocations: 199.9 kB / 0.6938 GB, free: 2.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.2283, allocations: 51.28 kB / 0.6939 GB, free: 2.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2285, allocations: 53.84 kB / 0.6939 GB, free: 2.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2286, allocations: 334.8 kB / 0.6942 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.2288, allocations: 56.38 kB / 0.6943 GB, free: 2.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2289, allocations: 145.7 kB / 0.6944 GB, free: 2.008 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.2293, allocations: 218.9 kB / 0.6946 GB, free: 1.754 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.2293, allocations: 0 / 0.6946 GB, free: 1.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004674/0.2297, allocations: 263.4 kB / 0.6949 GB, free: 1.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2298, allocations: 8 kB / 0.6949 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2298, allocations: 8.312 kB / 0.6949 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.23, allocations: 32.78 kB / 0.6949 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2302, allocations: 47.97 kB / 0.695 GB, free: 1.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.2315, allocations: 1.319 MB / 0.6963 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2317, allocations: 23.69 kB / 0.6963 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2317, allocations: 12 kB / 0.6963 GB, free: 15.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.2319, allocations: 167 kB / 0.6965 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.488e-05/0.232, allocations: 27.66 kB / 0.6965 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.74e-05/0.232, allocations: 37.92 kB / 0.6965 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.232, allocations: 0 / 0.6965 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.232, allocations: 4 kB / 0.6965 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.232, allocations: 3.984 kB / 0.6965 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.2331, allocations: 0.6909 MB / 0.6972 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2331, allocations: 0 / 0.6972 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.2332, allocations: 27.92 kB / 0.6972 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.134e-05/0.2333, allocations: 24.84 kB / 0.6973 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2333, allocations: 0 / 0.6973 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.2344, allocations: 1.323 MB / 0.6985 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.2344, allocations: 8.016 kB / 0.6986 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.2348, allocations: 317.2 kB / 0.6989 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.2349, allocations: 112.8 kB / 0.699 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.235, allocations: 15.94 kB / 0.699 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2351, allocations: 7.984 kB / 0.699 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.2352, allocations: 19.92 kB / 0.699 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2352, allocations: 4 kB / 0.699 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002242/0.2354, allocations: 198 kB / 0.6992 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2354, allocations: 0 / 0.6992 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004496/0.2359, allocations: 79.78 kB / 0.6993 GB, free: 12.56 MB / 0.4981 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.2361, allocations: 103.2 kB / 0.6994 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.2365, allocations: 264 kB / 0.6996 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2366, allocations: 0.75 kB / 0.6996 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003266/0.2369, allocations: 202.4 kB / 0.6998 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.2374, allocations: 52.47 kB / 0.6999 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2386, allocations: 0.6853 MB / 0.7005 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.2391, allocations: 0.7872 MB / 0.7013 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.726e-05/0.2392, allocations: 23.44 kB / 0.7013 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.81e-07/0.2392, allocations: 0 / 0.7013 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.008299/0.2475, allocations: 4.386 MB / 0.7056 GB, free: 5.965 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.DC.Loads.Examples.ResistorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.ResistorCalcHelperMain.o] Error 1