Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 119 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9368/0.9368, allocations: 145.2 MB / 448.6 MB, free: 13.75 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 70 kB / 0.6211 GB, free: 35.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1679, allocations: 86.63 MB / 0.7057 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003607/0.1715, allocations: 1.656 MB / 0.7073 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1726, allocations: 0.5494 MB / 0.7078 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.1726, allocations: 0 / 0.7078 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.1728, allocations: 31.72 kB / 0.7079 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1731, allocations: 65.97 kB / 0.7079 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1733, allocations: 63.86 kB / 0.708 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1735, allocations: 135.5 kB / 0.7081 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.1737, allocations: 41.47 kB / 0.7082 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1738, allocations: 55.77 kB / 0.7082 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.1739, allocations: 71.67 kB / 0.7083 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.174, allocations: 8 kB / 0.7083 GB, free: 164 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.772e-05/0.174, allocations: 23.94 kB / 0.7083 GB, free: 140 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.1741, allocations: 43.84 kB / 0.7084 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.464e-05/0.1742, allocations: 59.59 kB / 0.7084 GB, free: 36 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1745, allocations: 151.2 kB / 0.7086 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.1745, allocations: 4 kB / 0.7086 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1745, allocations: 0 / 0.7086 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1745, allocations: 0 / 0.7086 GB, free: 15.88 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007404/0.1752, allocations: 478.4 kB / 0.709 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1753, allocations: 12.03 kB / 0.709 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.1753, allocations: 16.84 kB / 0.709 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.1757, allocations: 233 kB / 0.7093 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1757, allocations: 4.375 kB / 0.7093 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1757, allocations: 16.31 kB / 0.7093 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.176, allocations: 109.9 kB / 0.7094 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.176, allocations: 3.938 kB / 0.7094 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1761, allocations: 8 kB / 0.7094 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1761, allocations: 0 / 0.7094 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1763, allocations: 63.92 kB / 0.7095 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.177, allocations: 388.5 kB / 0.7098 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1772, allocations: 42.55 kB / 0.7099 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1773, allocations: 32.89 kB / 0.7099 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.1773, allocations: 0 / 0.7099 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.1775, allocations: 101 kB / 0.71 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.1775, allocations: 0 / 0.71 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0004689/0.178, allocations: 125.4 kB / 0.7101 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.1781, allocations: 81.11 kB / 0.7102 GB, free: 14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1784, allocations: 253 kB / 0.7104 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.1784, allocations: 29.7 kB / 0.7105 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.1785, allocations: 124.1 kB / 0.7106 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.1785, allocations: 15.88 kB / 0.7106 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1786, allocations: 13.72 kB / 0.7106 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1787, allocations: 326.8 kB / 0.7109 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1788, allocations: 31.91 kB / 0.711 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.179, allocations: 47.41 kB / 0.711 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1792, allocations: 66.56 kB / 0.7111 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1792, allocations: 0 / 0.7111 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002845/0.1795, allocations: 101.5 kB / 0.7112 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1795, allocations: 8 kB / 0.7112 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1795, allocations: 4 kB / 0.7112 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.1795, allocations: 11.95 kB / 0.7112 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1796, allocations: 15.98 kB / 0.7112 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.1796, allocations: 4 kB / 0.7112 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.1797, allocations: 11.94 kB / 0.7112 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1797, allocations: 4 kB / 0.7112 GB, free: 12.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001177/0.1799, allocations: 126.5 kB / 0.7113 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.1799, allocations: 15.91 kB / 0.7114 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.1799, allocations: 17.25 kB / 0.7114 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1799, allocations: 7.938 kB / 0.7114 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1799, allocations: 3.938 kB / 0.7114 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1799, allocations: 3.984 kB / 0.7114 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1801, allocations: 213.6 kB / 0.7116 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1801, allocations: 0 / 0.7116 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.1802, allocations: 11.98 kB / 0.7116 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1802, allocations: 0 / 0.7116 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1802, allocations: 7.938 kB / 0.7116 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1802, allocations: 3.938 kB / 0.7116 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1802, allocations: 0 / 0.7116 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.1806, allocations: 129.2 kB / 0.7117 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.1806, allocations: 93 kB / 0.7118 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.1807, allocations: 0 / 0.7118 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.1808, allocations: 15.97 kB / 0.7118 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.1808, allocations: 7.984 kB / 0.7118 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1808, allocations: 8 kB / 0.7119 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002029/0.181, allocations: 188.5 kB / 0.712 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.181, allocations: 0 / 0.712 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002258/0.1813, allocations: 23.94 kB / 0.7121 GB, free: 11.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002494/0.1815, allocations: 120.8 kB / 0.7122 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.1818, allocations: 63.88 kB / 0.7122 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1818, allocations: 0 / 0.7122 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1819, allocations: 23.97 kB / 0.7123 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1822, allocations: 41.58 kB / 0.7123 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006146/0.1829, allocations: 317.8 kB / 0.7126 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.1832, allocations: 0.7235 MB / 0.7133 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.294e-05/0.1833, allocations: 19.42 kB / 0.7133 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1833, allocations: 0 / 0.7133 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.004699/0.188, allocations: 2.172 MB / 0.7154 GB, free: 8.438 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile clang++ -std=c++17 -fopenmp=libomp -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:5:11: fatal error: 'jsonWriterFree.c' file not found #include ^~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.0595232509076595] Failed to read output from testmodel.py, exit status != 0: 0.19582716608420014 0.209568008 0.032289113 Calling exit ...