Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000954/0.0009538, allocations: 92.16 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.0009962/0.0009963, allocations: 173 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 274.8 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9586/0.9586, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.000449, allocations: 17.47 kB / 0.5993 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004463/0.1601, allocations: 3.73 MB / 0.6894 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1625, allocations: 1.569 MB / 0.6909 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1627, allocations: 4 kB / 0.6909 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.1629, allocations: 71.42 kB / 0.691 GB, free: 9.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.1634, allocations: 221.7 kB / 0.6912 GB, free: 9.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004709/0.1638, allocations: 191.9 kB / 0.6914 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007008/0.1645, allocations: 0.7792 MB / 0.6922 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.1651, allocations: 442.7 kB / 0.6926 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.1653, allocations: 179.3 kB / 0.6928 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.1657, allocations: 247.1 kB / 0.693 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.1657, allocations: 20 kB / 0.693 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.166, allocations: 191.6 kB / 0.6932 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.1662, allocations: 131.6 kB / 0.6933 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.1663, allocations: 196.8 kB / 0.6935 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.1667, allocations: 407 kB / 0.6939 GB, free: 6.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1667, allocations: 3.984 kB / 0.6939 GB, free: 6.699 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1668, allocations: 0 / 0.6939 GB, free: 6.699 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1668, allocations: 0 / 0.6939 GB, free: 6.699 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001009/0.1678, allocations: 0.6203 MB / 0.6945 GB, free: 6.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.1678, allocations: 12.03 kB / 0.6945 GB, free: 6.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.1685, allocations: 108.4 kB / 0.6946 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.1689, allocations: 299.6 kB / 0.6949 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.169, allocations: 59.2 kB / 0.695 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-05/0.169, allocations: 28.38 kB / 0.695 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008033/0.1698, allocations: 0.5087 MB / 0.6955 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1699, allocations: 0 / 0.6955 GB, free: 4.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1699, allocations: 15.94 kB / 0.6955 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.17, allocations: 32.98 kB / 0.6955 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.1707, allocations: 395.7 kB / 0.6959 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.173, allocations: 2.227 MB / 0.6981 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.1737, allocations: 262.6 kB / 0.6983 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.174, allocations: 156.8 kB / 0.6985 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1741, allocations: 4 kB / 0.6985 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1741, allocations: 38.5 kB / 0.6985 GB, free: 1.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.1741, allocations: 0 / 0.6985 GB, free: 1.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=19): time 0.001502/0.1756, allocations: 0.5887 MB / 0.6991 GB, free: 0.957 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1756, allocations: 59.41 kB / 0.6992 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1759, allocations: 228.9 kB / 0.6994 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1759, allocations: 29.7 kB / 0.6994 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.176, allocations: 203.7 kB / 0.6996 GB, free: 428 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1761, allocations: 71 kB / 0.6997 GB, free: 356 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.1761, allocations: 25.7 kB / 0.6997 GB, free: 324 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1763, allocations: 338.8 kB / 0.7 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1765, allocations: 99.94 kB / 0.7001 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.1768, allocations: 184.3 kB / 0.7003 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.1773, allocations: 275.1 kB / 0.7006 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1773, allocations: 4 kB / 0.7006 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008536/0.1781, allocations: 394.8 kB / 0.7009 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/0.1782, allocations: 159.5 kB / 0.7011 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1783, allocations: 0 / 0.7011 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.1788, allocations: 117.5 kB / 0.7012 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.179, allocations: 47.98 kB / 0.7012 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002948/0.1819, allocations: 2.834 MB / 0.704 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.1822, allocations: 31.75 kB / 0.704 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.1822, allocations: 19.92 kB / 0.7041 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.1822, allocations: 4 kB / 0.7041 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007249/0.183, allocations: 309.7 kB / 0.7044 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.183, allocations: 4 kB / 0.7044 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.1833, allocations: 89.12 kB / 0.7044 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1835, allocations: 51.91 kB / 0.7045 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.1853, allocations: 1.497 MB / 0.706 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.1855, allocations: 35.67 kB / 0.706 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1855, allocations: 12 kB / 0.706 GB, free: 9.312 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.1858, allocations: 249.8 kB / 0.7062 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.1858, allocations: 19.81 kB / 0.7063 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.1859, allocations: 30.17 kB / 0.7063 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1859, allocations: 7.938 kB / 0.7063 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1859, allocations: 4 kB / 0.7063 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1859, allocations: 0 / 0.7063 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.1872, allocations: 0.8427 MB / 0.7071 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1872, allocations: 0 / 0.7071 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1874, allocations: 31.98 kB / 0.7072 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00037/0.1878, allocations: 109.8 kB / 0.7073 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1878, allocations: 4 kB / 0.7073 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/0.1905, allocations: 2.806 MB / 0.71 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1905, allocations: 0 / 0.71 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.1913, allocations: 423.9 kB / 0.7104 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1914, allocations: 124.8 kB / 0.7105 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1914, allocations: 3.938 kB / 0.7105 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1916, allocations: 15.98 kB / 0.7105 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.1917, allocations: 31.84 kB / 0.7106 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.1917, allocations: 4 kB / 0.7106 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000156/0.1919, allocations: 160.5 kB / 0.7107 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1919, allocations: 0 / 0.7107 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005945/0.1925, allocations: 171.3 kB / 0.7109 GB, free: 3.891 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.1926, allocations: 108 kB / 0.711 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.1945, allocations: 0.768 MB / 0.7118 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1945, allocations: 0 / 0.7118 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.1952, allocations: 377.6 kB / 0.7121 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.1957, allocations: 47.28 kB / 0.7122 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1969, allocations: 0.7816 MB / 0.7129 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.1973, allocations: 0.8107 MB / 0.7137 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1974, allocations: 19.44 kB / 0.7137 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of SimCode: time 1.693e-06/0.1974, allocations: 0 / 0.7137 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of Templates: time 0.00777/0.2052, allocations: 6.123 MB / 0.7197 GB, free: 10.75 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoadCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.o] Error 1