Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009397/0.0009396, allocations: 97.78 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.001217/0.001217, allocations: 187.2 kB / 16.92 MB, free: 6.75 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 262.6 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003862, allocations: 11.38 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001835/0.1602, allocations: 1.423 MB / 0.6872 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.1609, allocations: 0.4987 MB / 0.6876 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.161, allocations: 0 / 0.6876 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.1614, allocations: 151.6 kB / 0.6878 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.479e-05/0.1614, allocations: 51.78 kB / 0.6878 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1617, allocations: 51.81 kB / 0.6879 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1619, allocations: 203.4 kB / 0.6881 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1619, allocations: 16.92 kB / 0.6881 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.162, allocations: 24.44 kB / 0.6881 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1621, allocations: 67.69 kB / 0.6882 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.1621, allocations: 5.188 kB / 0.6882 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.1623, allocations: 87.84 kB / 0.6883 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.1624, allocations: 59.84 kB / 0.6883 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.1625, allocations: 89.98 kB / 0.6884 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1627, allocations: 127.7 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1627, allocations: 5.875 kB / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1627, allocations: 0 / 0.6885 GB, free: 12.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1627, allocations: 0 / 0.6885 GB, free: 12.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000522/0.1632, allocations: 463.3 kB / 0.689 GB, free: 11.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1633, allocations: 13.22 kB / 0.689 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1633, allocations: 16.75 kB / 0.689 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1635, allocations: 219.6 kB / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1635, allocations: 6.094 kB / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1635, allocations: 384 / 0.6892 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1637, allocations: 70.84 kB / 0.6893 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.1637, allocations: 4.594 kB / 0.6893 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1637, allocations: 7.984 kB / 0.6893 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1637, allocations: 2.438 kB / 0.6893 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.164, allocations: 66.05 kB / 0.6894 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.1644, allocations: 329.6 kB / 0.6897 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1646, allocations: 76.02 kB / 0.6898 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1647, allocations: 42.73 kB / 0.6898 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1647, allocations: 12 kB / 0.6898 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1648, allocations: 31.38 kB / 0.6898 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1648, allocations: 4 kB / 0.6899 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004016/0.1652, allocations: 149.3 kB / 0.69 GB, free: 10.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1652, allocations: 63.45 kB / 0.6901 GB, free: 10.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1655, allocations: 254.7 kB / 0.6903 GB, free: 10.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1655, allocations: 25.7 kB / 0.6903 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.1656, allocations: 136.1 kB / 0.6905 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1656, allocations: 3.906 kB / 0.6905 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.1656, allocations: 9.719 kB / 0.6905 GB, free: 10.06 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1657, allocations: 334.8 kB / 0.6908 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.821e-05/0.1658, allocations: 35.98 kB / 0.6908 GB, free: 9.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.1659, allocations: 31.97 kB / 0.6909 GB, free: 9.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1661, allocations: 76.88 kB / 0.6909 GB, free: 9.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1661, allocations: 3.938 kB / 0.6909 GB, free: 9.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002394/0.1664, allocations: 117.4 kB / 0.691 GB, free: 9.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1664, allocations: 7.984 kB / 0.691 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1664, allocations: 7.969 kB / 0.6911 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.1664, allocations: 0 / 0.6911 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.1665, allocations: 8 kB / 0.6911 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1665, allocations: 7.938 kB / 0.6911 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1666, allocations: 7.984 kB / 0.6911 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1666, allocations: 0 / 0.6911 GB, free: 9.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001049/0.1667, allocations: 147.1 kB / 0.6912 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.1668, allocations: 19.72 kB / 0.6912 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.167, allocations: 122.5 kB / 0.6914 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.167, allocations: 0 / 0.6914 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1671, allocations: 3.984 kB / 0.6914 GB, free: 9.105 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1671, allocations: 4.031 kB / 0.6914 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1673, allocations: 213.6 kB / 0.6916 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1673, allocations: 3.938 kB / 0.6916 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.1674, allocations: 15.98 kB / 0.6916 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1674, allocations: 0 / 0.6916 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1674, allocations: 4 kB / 0.6916 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1674, allocations: 4 kB / 0.6916 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1674, allocations: 0 / 0.6916 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1677, allocations: 215.2 kB / 0.6918 GB, free: 8.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.1677, allocations: 92.83 kB / 0.6919 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1678, allocations: 0 / 0.6919 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.396e-05/0.1679, allocations: 12.02 kB / 0.6919 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.1679, allocations: 8 kB / 0.6919 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1679, allocations: 0 / 0.6919 GB, free: 8.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1681, allocations: 185.9 kB / 0.6921 GB, free: 8.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1681, allocations: 0 / 0.6921 GB, free: 8.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1683, allocations: 43.94 kB / 0.6921 GB, free: 8.242 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.0001798/0.1685, allocations: 131.2 kB / 0.6922 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1688, allocations: 75.94 kB / 0.6923 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1688, allocations: 0 / 0.6923 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.943e-05/0.1689, allocations: 31.98 kB / 0.6924 GB, free: 8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1693, allocations: 50.69 kB / 0.6924 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.1699, allocations: 414.1 kB / 0.6928 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1702, allocations: 0.7355 MB / 0.6935 GB, free: 6.754 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.1702, allocations: 11.44 kB / 0.6935 GB, free: 6.742 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1703, allocations: 0 / 0.6935 GB, free: 6.742 MB / 494.1 MB Notification: Performance of Templates: time 0.003639/0.1739, allocations: 1.823 MB / 0.6953 GB, free: 4.941 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.phiSorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSorCalcHelperMain.o] Error 1