Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009031/0.0009029, allocations: 99.34 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.001098/0.001098, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 275.1 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9082/0.9082, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004346, allocations: 18.38 kB / 0.5993 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002831/0.1633, allocations: 2.315 MB / 0.688 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1651, allocations: 1.298 MB / 0.6893 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.1652, allocations: 5.594 kB / 0.6893 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.1653, allocations: 27.78 kB / 0.6893 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.1657, allocations: 156.4 kB / 0.6895 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1661, allocations: 160.8 kB / 0.6896 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.1664, allocations: 363 kB / 0.69 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.1669, allocations: 319.5 kB / 0.6903 GB, free: 10.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.167, allocations: 79.69 kB / 0.6904 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1673, allocations: 125.3 kB / 0.6905 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1673, allocations: 4 kB / 0.6905 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.1676, allocations: 191.6 kB / 0.6907 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.726e-05/0.1676, allocations: 64.45 kB / 0.6907 GB, free: 9.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.1677, allocations: 97.25 kB / 0.6908 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.168, allocations: 225.4 kB / 0.691 GB, free: 9.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.168, allocations: 0 / 0.691 GB, free: 9.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.168, allocations: 0 / 0.691 GB, free: 9.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.168, allocations: 0 / 0.691 GB, free: 9.648 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006328/0.1686, allocations: 469.6 kB / 0.6915 GB, free: 9.141 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1687, allocations: 8.031 kB / 0.6915 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.1691, allocations: 72.56 kB / 0.6916 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1694, allocations: 238.6 kB / 0.6918 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1694, allocations: 13.53 kB / 0.6918 GB, free: 8.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.1695, allocations: 16.36 kB / 0.6918 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005045/0.17, allocations: 319.4 kB / 0.6921 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.17, allocations: 4 kB / 0.6921 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.17, allocations: 4 kB / 0.6921 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.1701, allocations: 28.27 kB / 0.6922 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.1706, allocations: 268.6 kB / 0.6924 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.172, allocations: 1.518 MB / 0.6939 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/0.1725, allocations: 253.1 kB / 0.6941 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.1728, allocations: 141.6 kB / 0.6943 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.1728, allocations: 4 kB / 0.6943 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1728, allocations: 34.5 kB / 0.6943 GB, free: 6.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.1728, allocations: 0 / 0.6943 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007384/0.1736, allocations: 364.7 kB / 0.6947 GB, free: 5.652 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1736, allocations: 81.11 kB / 0.6947 GB, free: 5.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1738, allocations: 174.6 kB / 0.6949 GB, free: 5.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1738, allocations: 25.7 kB / 0.6949 GB, free: 5.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.742e-05/0.1739, allocations: 148.1 kB / 0.6951 GB, free: 5.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.174, allocations: 55.19 kB / 0.6951 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.174, allocations: 21.72 kB / 0.6951 GB, free: 5.109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1741, allocations: 330.8 kB / 0.6955 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1743, allocations: 103.9 kB / 0.6956 GB, free: 4.676 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.1746, allocations: 171.6 kB / 0.6957 GB, free: 4.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.1751, allocations: 288.8 kB / 0.696 GB, free: 4.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1751, allocations: 7.938 kB / 0.696 GB, free: 4.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005419/0.1756, allocations: 317.2 kB / 0.6963 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.173e-05/0.1757, allocations: 141.3 kB / 0.6964 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1757, allocations: 4 kB / 0.6965 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1757, allocations: 4 kB / 0.6965 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.176, allocations: 59.89 kB / 0.6965 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.176, allocations: 3.938 kB / 0.6965 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1762, allocations: 39.72 kB / 0.6966 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1763, allocations: 11.98 kB / 0.6966 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/0.1763, allocations: 4 kB / 0.6966 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004488/0.1767, allocations: 249.6 kB / 0.6968 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1767, allocations: 7.938 kB / 0.6968 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-06/0.1767, allocations: 4 kB / 0.6968 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.177, allocations: 60.12 kB / 0.6969 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.177, allocations: 3.984 kB / 0.6969 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.1771, allocations: 31.83 kB / 0.6969 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.1771, allocations: 4 kB / 0.6969 GB, free: 3.211 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.1773, allocations: 223.4 kB / 0.6971 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1774, allocations: 15.81 kB / 0.6971 GB, free: 2.969 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.1779, allocations: 283 kB / 0.6974 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1779, allocations: 0 / 0.6974 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1779, allocations: 4 kB / 0.6974 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1779, allocations: 0 / 0.6974 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.1789, allocations: 0.685 MB / 0.6981 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1789, allocations: 0 / 0.6981 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1791, allocations: 52.02 kB / 0.6981 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1792, allocations: 4 kB / 0.6981 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.1792, allocations: 8 kB / 0.6981 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1792, allocations: 7.875 kB / 0.6982 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1792, allocations: 7.984 kB / 0.6982 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.1797, allocations: 457.8 kB / 0.6986 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.1798, allocations: 116.8 kB / 0.6987 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1799, allocations: 8 kB / 0.6987 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.1801, allocations: 27.91 kB / 0.6987 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1801, allocations: 11.98 kB / 0.6988 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1802, allocations: 4 kB / 0.6988 GB, free: 1.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.1803, allocations: 139.7 kB / 0.6989 GB, free: 1.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1803, allocations: 0 / 0.6989 GB, free: 1.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.1807, allocations: 79.84 kB / 0.699 GB, free: 0.9766 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.1808, allocations: 112 kB / 0.6991 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.1815, allocations: 386.3 kB / 0.6994 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.1815, allocations: 7.938 kB / 0.6994 GB, free: 488 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00021/0.1817, allocations: 119.8 kB / 0.6996 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/0.1822, allocations: 41.28 kB / 0.6996 GB, free: 328 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.183, allocations: 0.5551 MB / 0.7001 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.1833, allocations: 0.7441 MB / 0.7009 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.1834, allocations: 19.44 kB / 0.7009 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1834, allocations: 0 / 0.7009 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.003794/0.1872, allocations: 2.547 MB / 0.7034 GB, free: 12.39 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistorsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.o] Error 1