Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008276/0.0008276, allocations: 99.03 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.0009181/0.0009181, allocations: 184.6 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.314/1.314, 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.001747/0.001747, allocations: 278.8 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9197/0.9197, allocations: 169.5 MB / 0.501 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 15.06 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003482/0.1576, allocations: 2.876 MB / 0.6886 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1596, allocations: 1.341 MB / 0.6899 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1597, allocations: 7.938 kB / 0.6899 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.1599, allocations: 40.2 kB / 0.6899 GB, free: 10.81 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1602, allocations: 141.7 kB / 0.6901 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.1606, allocations: 142.7 kB / 0.6902 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.161, allocations: 458.7 kB / 0.6906 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.1614, allocations: 242.4 kB / 0.6909 GB, free: 9.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1616, allocations: 111.5 kB / 0.691 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1618, allocations: 143.5 kB / 0.6911 GB, free: 9.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1619, allocations: 8 kB / 0.6911 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1622, allocations: 211.5 kB / 0.6913 GB, free: 9.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.1623, allocations: 72.36 kB / 0.6914 GB, free: 9.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1624, allocations: 133.1 kB / 0.6915 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1627, allocations: 268 kB / 0.6918 GB, free: 8.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1627, allocations: 0.8438 kB / 0.6918 GB, free: 8.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1627, allocations: 0 / 0.6918 GB, free: 8.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1627, allocations: 0 / 0.6918 GB, free: 8.906 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007271/0.1634, allocations: 0.5019 MB / 0.6923 GB, free: 8.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1635, allocations: 12.03 kB / 0.6923 GB, free: 8.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005674/0.1641, allocations: 79 kB / 0.6924 GB, free: 8.273 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1644, allocations: 261.7 kB / 0.6926 GB, free: 7.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1644, allocations: 12.81 kB / 0.6926 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.1644, allocations: 16.38 kB / 0.6926 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004911/0.1649, allocations: 324.6 kB / 0.6929 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1649, allocations: 0 / 0.6929 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.165, allocations: 8 kB / 0.693 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.165, allocations: 16.42 kB / 0.693 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.1654, allocations: 217.6 kB / 0.6932 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.1669, allocations: 1.513 MB / 0.6947 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.1673, allocations: 207.6 kB / 0.6949 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.1674, allocations: 40.84 kB / 0.6949 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1675, allocations: 4 kB / 0.6949 GB, free: 5.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.1675, allocations: 30.56 kB / 0.6949 GB, free: 5.383 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1675, allocations: 0 / 0.6949 GB, free: 5.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005614/0.1681, allocations: 275.3 kB / 0.6952 GB, free: 5.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1681, allocations: 51.41 kB / 0.6952 GB, free: 5.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.1683, allocations: 208.4 kB / 0.6954 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1684, allocations: 29.7 kB / 0.6955 GB, free: 4.777 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1685, allocations: 175.6 kB / 0.6956 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1685, allocations: 27.62 kB / 0.6957 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.1686, allocations: 25.7 kB / 0.6957 GB, free: 4.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1687, allocations: 330.7 kB / 0.696 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1688, allocations: 47.97 kB / 0.696 GB, free: 4.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.169, allocations: 122.3 kB / 0.6962 GB, free: 4.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.1692, allocations: 172.4 kB / 0.6963 GB, free: 3.816 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1692, allocations: 0 / 0.6963 GB, free: 3.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003754/0.1696, allocations: 214 kB / 0.6965 GB, free: 3.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1697, allocations: 11.98 kB / 0.6965 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1697, allocations: 0 / 0.6965 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.1698, allocations: 28.84 kB / 0.6966 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.17, allocations: 32.2 kB / 0.6966 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.171, allocations: 1.323 MB / 0.6979 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.1711, allocations: 27.94 kB / 0.6979 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1711, allocations: 4 kB / 0.6979 GB, free: 2.035 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.1713, allocations: 149.8 kB / 0.6981 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.1713, allocations: 23.73 kB / 0.6981 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.1714, allocations: 17.47 kB / 0.6981 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1714, allocations: 4 kB / 0.6981 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1714, allocations: 3.984 kB / 0.6981 GB, free: 1.836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1714, allocations: 4 kB / 0.6981 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.172, allocations: 499 kB / 0.6986 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.172, allocations: 0 / 0.6986 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.1721, allocations: 11.98 kB / 0.6986 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.715e-05/0.1721, allocations: 28.84 kB / 0.6986 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1722, allocations: 3.938 kB / 0.6986 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009366/0.1731, allocations: 1.315 MB / 0.6999 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1731, allocations: 0 / 0.6999 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1734, allocations: 240.6 kB / 0.7001 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.1735, allocations: 100.9 kB / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1735, allocations: 7.938 kB / 0.7003 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1737, allocations: 12.09 kB / 0.7003 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.1737, allocations: 7.984 kB / 0.7003 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1737, allocations: 0 / 0.7003 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001263/0.1738, allocations: 149.5 kB / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1738, allocations: 0 / 0.7004 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003177/0.1742, allocations: 55.84 kB / 0.7005 GB, free: 15.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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.000128/0.1743, allocations: 107.9 kB / 0.7006 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.1747, allocations: 242.4 kB / 0.7008 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1747, allocations: 0 / 0.7008 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.175, allocations: 171.2 kB / 0.701 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1753, allocations: 31.97 kB / 0.701 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007037/0.176, allocations: 0.5305 MB / 0.7015 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1764, allocations: 0.7556 MB / 0.7022 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.1764, allocations: 19.42 kB / 0.7023 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1764, allocations: 0 / 0.7023 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of Templates: time 0.00489/0.1813, allocations: 3.195 MB / 0.7054 GB, free: 10.07 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSourceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSourceCalcHelperMain.o] Error 1