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.0009002/0.0009002, 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.0008504/0.0008505, allocations: 177.1 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.349/1.349, 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.00171/0.001709, allocations: 274.7 kB / 292.3 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9258/0.9258, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003992, allocations: 16.56 kB / 0.5993 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.004456/0.176, allocations: 3.477 MB / 0.6892 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.1787, allocations: 1.709 MB / 0.6908 GB, free: 9.863 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1788, allocations: 7.938 kB / 0.6908 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.179, allocations: 55.56 kB / 0.6909 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.1795, allocations: 222.4 kB / 0.6911 GB, free: 9.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.18, allocations: 185.3 kB / 0.6913 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006373/0.1807, allocations: 0.6664 MB / 0.6919 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.1812, allocations: 321.3 kB / 0.6922 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.1814, allocations: 147.4 kB / 0.6924 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000388/0.1818, allocations: 215.1 kB / 0.6926 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.1818, allocations: 16 kB / 0.6926 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.1823, allocations: 303.4 kB / 0.6929 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.1824, allocations: 107.6 kB / 0.693 GB, free: 7.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1826, allocations: 180.8 kB / 0.6932 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.1831, allocations: 379.1 kB / 0.6935 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1831, allocations: 0 / 0.6935 GB, free: 7.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1831, allocations: 0 / 0.6935 GB, free: 7.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1831, allocations: 4 kB / 0.6935 GB, free: 7.086 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.0008862/0.184, allocations: 0.5732 MB / 0.6941 GB, free: 6.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.184, allocations: 8.031 kB / 0.6941 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.1849, allocations: 140.4 kB / 0.6942 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.1853, allocations: 287.6 kB / 0.6945 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.1853, allocations: 21.03 kB / 0.6945 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1854, allocations: 24.38 kB / 0.6945 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000665/0.186, allocations: 471.8 kB / 0.695 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.1861, allocations: 0 / 0.695 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.1861, allocations: 15.98 kB / 0.695 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.1862, allocations: 36.53 kB / 0.695 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.1866, allocations: 317.9 kB / 0.6954 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.1888, allocations: 2.2 MB / 0.6975 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.1892, allocations: 243.8 kB / 0.6977 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1895, allocations: 116.8 kB / 0.6978 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.1895, allocations: 0 / 0.6978 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1896, allocations: 34.56 kB / 0.6979 GB, free: 2.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.1896, allocations: 0 / 0.6979 GB, free: 2.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006139/0.1902, allocations: 304.1 kB / 0.6982 GB, free: 1.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1902, allocations: 55.41 kB / 0.6982 GB, free: 1.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.1905, allocations: 266.6 kB / 0.6985 GB, free: 1.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1905, allocations: 25.7 kB / 0.6985 GB, free: 1.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1907, allocations: 207.8 kB / 0.6987 GB, free: 1.367 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-05/0.1907, allocations: 55.28 kB / 0.6988 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.1908, allocations: 25.7 kB / 0.6988 GB, free: 1.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1909, allocations: 342.8 kB / 0.6991 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.191, allocations: 52.44 kB / 0.6992 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1912, allocations: 149.6 kB / 0.6993 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.1914, allocations: 220.2 kB / 0.6995 GB, free: 456 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1914, allocations: 4.094 kB / 0.6995 GB, free: 452 kB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003958/0.1919, allocations: 260.6 kB / 0.6998 GB, free: 184 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1919, allocations: 8.375 kB / 0.6998 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1919, allocations: 4 kB / 0.6998 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.1921, allocations: 32.83 kB / 0.6998 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1923, allocations: 47.86 kB / 0.6998 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.1933, allocations: 1.331 MB / 0.7011 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.1935, allocations: 31.62 kB / 0.7012 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.1935, allocations: 8 kB / 0.7012 GB, free: 14.58 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.0001549/0.1937, allocations: 171 kB / 0.7013 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.1937, allocations: 31.78 kB / 0.7014 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.1938, allocations: 29.83 kB / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1938, allocations: 0 / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1938, allocations: 4 kB / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1938, allocations: 0 / 0.7014 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.1947, allocations: 0.6947 MB / 0.7021 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1947, allocations: 0 / 0.7021 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.924e-05/0.1948, allocations: 27.92 kB / 0.7021 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-05/0.1949, allocations: 24.84 kB / 0.7021 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1949, allocations: 4.188 kB / 0.7021 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/0.1958, allocations: 1.319 MB / 0.7034 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1958, allocations: 4.156 kB / 0.7034 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1962, allocations: 313 kB / 0.7037 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.1963, allocations: 124.7 kB / 0.7039 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.1963, allocations: 0 / 0.7039 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1965, allocations: 16 kB / 0.7039 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.1965, allocations: 15.92 kB / 0.7039 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1965, allocations: 8 kB / 0.7039 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001774/0.1967, allocations: 194 kB / 0.7041 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1967, allocations: 0 / 0.7041 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003794/0.1971, allocations: 79.78 kB / 0.7042 GB, free: 11.25 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.0001118/0.1972, allocations: 99.25 kB / 0.7042 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.1977, allocations: 271 kB / 0.7045 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1977, allocations: 4 kB / 0.7045 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1979, allocations: 186.5 kB / 0.7047 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.1984, allocations: 59.33 kB / 0.7047 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009135/0.1993, allocations: 0.7165 MB / 0.7054 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1997, allocations: 0.7911 MB / 0.7062 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.1998, allocations: 27.42 kB / 0.7062 GB, free: 9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1998, allocations: 0 / 0.7062 GB, free: 9 MB / 0.4981 GB Notification: Performance of Templates: time 0.006394/0.2062, allocations: 4.343 MB / 0.7105 GB, free: 4.664 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