Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008056/0.0008056, allocations: 99.58 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.00102/0.00102, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.332/1.332, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001697/0.001697, allocations: 270.9 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 0.935/0.935, allocations: 169.6 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 10.25 kB / 0.5993 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1695, allocations: 88.54 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad): time 0.004199/0.1737, allocations: 3.5 MB / 0.6892 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1762, allocations: 1.746 MB / 0.6909 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1764, allocations: 8 kB / 0.6909 GB, free: 9.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1766, allocations: 57.88 kB / 0.6909 GB, free: 9.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.177, allocations: 235 kB / 0.6912 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.1776, allocations: 229.8 kB / 0.6914 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.1782, allocations: 0.7057 MB / 0.6921 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.1786, allocations: 372.5 kB / 0.6924 GB, free: 8.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1788, allocations: 151.4 kB / 0.6926 GB, free: 8.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003233/0.1791, allocations: 227.1 kB / 0.6928 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.1792, allocations: 16 kB / 0.6928 GB, free: 7.852 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.1795, allocations: 227.5 kB / 0.693 GB, free: 7.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.1796, allocations: 111.7 kB / 0.6931 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1798, allocations: 188.8 kB / 0.6933 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.1802, allocations: 367 kB / 0.6937 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1802, allocations: 4 kB / 0.6937 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1802, allocations: 0 / 0.6937 GB, free: 6.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.1802, allocations: 0 / 0.6937 GB, free: 6.965 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009513/0.1811, allocations: 0.6082 MB / 0.6943 GB, free: 6.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1812, allocations: 8.031 kB / 0.6943 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005144/0.1817, allocations: 80.5 kB / 0.6943 GB, free: 6.223 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.1821, allocations: 291.5 kB / 0.6946 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1821, allocations: 21.03 kB / 0.6946 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1821, allocations: 32.36 kB / 0.6947 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007818/0.1829, allocations: 0.498 MB / 0.6952 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1829, allocations: 0 / 0.6952 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.183, allocations: 12 kB / 0.6952 GB, free: 5.305 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.674e-05/0.183, allocations: 40.62 kB / 0.6952 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007365/0.1838, allocations: 386.2 kB / 0.6956 GB, free: 4.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.1858, allocations: 2.052 MB / 0.6976 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005453/0.1864, allocations: 226.6 kB / 0.6978 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.1868, allocations: 168.8 kB / 0.698 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1868, allocations: 4 kB / 0.698 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1868, allocations: 34.56 kB / 0.698 GB, free: 2.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.293e-06/0.1868, allocations: 3.938 kB / 0.698 GB, free: 2.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001109/0.1879, allocations: 460.9 kB / 0.6984 GB, free: 1.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.188, allocations: 55.34 kB / 0.6985 GB, free: 1.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1882, allocations: 262.6 kB / 0.6987 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.1883, allocations: 33.7 kB / 0.6988 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1884, allocations: 203.7 kB / 0.699 GB, free: 1.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1884, allocations: 75.08 kB / 0.699 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.1885, allocations: 21.72 kB / 0.6991 GB, free: 1.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1886, allocations: 338.8 kB / 0.6994 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.1889, allocations: 104.5 kB / 0.6995 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.1892, allocations: 215.6 kB / 0.6997 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.1898, allocations: 335.4 kB / 0.7 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1898, allocations: 0 / 0.7 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000762/0.1906, allocations: 378 kB / 0.7004 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1907, allocations: 196.7 kB / 0.7006 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1907, allocations: 4 kB / 0.7006 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001791/0.1909, allocations: 32.84 kB / 0.7006 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1912, allocations: 75.89 kB / 0.7007 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/0.1923, allocations: 1.331 MB / 0.702 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.1926, allocations: 47.61 kB / 0.702 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1926, allocations: 16 kB / 0.702 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-06/0.1926, allocations: 4 kB / 0.702 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006073/0.1932, allocations: 299.8 kB / 0.7023 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1932, allocations: 4 kB / 0.7023 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-06/0.1932, allocations: 4 kB / 0.7023 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.1935, allocations: 95.95 kB / 0.7024 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.1935, allocations: 4 kB / 0.7024 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1937, allocations: 39.73 kB / 0.7025 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.1938, allocations: 11.94 kB / 0.7025 GB, free: 13.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001844/0.1939, allocations: 251 kB / 0.7027 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.194, allocations: 27.72 kB / 0.7027 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.1941, allocations: 38.11 kB / 0.7028 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1941, allocations: 0 / 0.7028 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.1941, allocations: 0 / 0.7028 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1941, allocations: 3.984 kB / 0.7028 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1952, allocations: 0.7716 MB / 0.7035 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1952, allocations: 8.062 kB / 0.7035 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.1954, allocations: 39.97 kB / 0.7036 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-05/0.1955, allocations: 36.7 kB / 0.7036 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1956, allocations: 8 kB / 0.7036 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008894/0.1964, allocations: 1.304 MB / 0.7049 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1965, allocations: 7.969 kB / 0.7049 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.1971, allocations: 391.6 kB / 0.7053 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1972, allocations: 120.7 kB / 0.7054 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.1973, allocations: 11.94 kB / 0.7054 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.1974, allocations: 23.98 kB / 0.7054 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/0.1975, allocations: 15.97 kB / 0.7054 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1975, allocations: 11.94 kB / 0.7054 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001586/0.1977, allocations: 182 kB / 0.7056 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1977, allocations: 0 / 0.7056 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006587/0.1984, allocations: 143.6 kB / 0.7058 GB, free: 9.613 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.1985, allocations: 99.19 kB / 0.7059 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.1995, allocations: 0.515 MB / 0.7064 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1995, allocations: 0 / 0.7064 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.1999, allocations: 231.2 kB / 0.7066 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.2004, allocations: 66.7 kB / 0.7066 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.2013, allocations: 0.7433 MB / 0.7074 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2017, allocations: 0.7996 MB / 0.7081 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.962e-05/0.2017, allocations: 23.44 kB / 0.7082 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2017, allocations: 0 / 0.7082 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.006439/0.2082, allocations: 4.733 MB / 0.7128 GB, free: 2.328 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoadCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.o] Error 1