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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 102.1 kB / 19.7 MB, free: 2.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 222.5 kB / 23.01 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.337/1.337, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.8466/0.8466, allocations: 145 MB / 458.2 MB, free: 15.51 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 61.84 kB / 0.6344 GB, free: 6.852 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 87.89 MB / 0.7202 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003121/0.1629, allocations: 1.673 MB / 0.7218 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1641, allocations: 0.6278 MB / 0.7224 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.1641, allocations: 7.938 kB / 0.7225 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1643, allocations: 31.78 kB / 0.7225 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1646, allocations: 59.67 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1648, allocations: 79.84 kB / 0.7226 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.165, allocations: 139.5 kB / 0.7228 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1652, allocations: 29.67 kB / 0.7228 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.1653, allocations: 59.77 kB / 0.7228 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1655, allocations: 67.64 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1655, allocations: 12 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.1656, allocations: 31.97 kB / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.1657, allocations: 43.84 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.1657, allocations: 59.59 kB / 0.723 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.166, allocations: 163.2 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.166, allocations: 0 / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.166, allocations: 0 / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.166, allocations: 0 / 0.7232 GB, free: 11.87 MB / 0.545 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.0006554/0.1666, allocations: 397.4 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1667, allocations: 12.03 kB / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.1668, allocations: 28.78 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.1671, allocations: 182.2 kB / 0.7238 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1672, allocations: 8.312 kB / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.1672, allocations: 4.375 kB / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1675, allocations: 113.9 kB / 0.7239 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1675, allocations: 0 / 0.7239 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1675, allocations: 4 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1675, allocations: 4 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.1677, allocations: 63.94 kB / 0.724 GB, free: 11.01 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.1683, allocations: 351.6 kB / 0.7243 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1684, allocations: 42.48 kB / 0.7244 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1685, allocations: 32.89 kB / 0.7244 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.1685, allocations: 0 / 0.7244 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.1687, allocations: 105.1 kB / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1687, allocations: 0 / 0.7245 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004092/0.1692, allocations: 117.4 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.1692, allocations: 81.11 kB / 0.7247 GB, free: 10.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.1695, allocations: 268.8 kB / 0.7249 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1695, allocations: 25.7 kB / 0.725 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.1696, allocations: 132 kB / 0.7251 GB, free: 9.762 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.1696, allocations: 11.95 kB / 0.7251 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.1696, allocations: 9.719 kB / 0.7251 GB, free: 9.734 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1698, allocations: 334.8 kB / 0.7254 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1699, allocations: 19.98 kB / 0.7254 GB, free: 9.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.17, allocations: 51.59 kB / 0.7255 GB, free: 9.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.1702, allocations: 78.48 kB / 0.7256 GB, free: 9.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1702, allocations: 0 / 0.7256 GB, free: 9.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002561/0.1705, allocations: 97.58 kB / 0.7257 GB, free: 9.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1705, allocations: 8 kB / 0.7257 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1705, allocations: 3.984 kB / 0.7257 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1705, allocations: 3.938 kB / 0.7257 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.1706, allocations: 12.08 kB / 0.7257 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1706, allocations: 8 kB / 0.7257 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.1707, allocations: 15.94 kB / 0.7257 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.1707, allocations: 4 kB / 0.7257 GB, free: 9.074 MB / 0.545 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.0001085/0.1708, allocations: 125.8 kB / 0.7258 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1709, allocations: 19.84 kB / 0.7259 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.1709, allocations: 25.33 kB / 0.7259 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1709, allocations: 3.938 kB / 0.7259 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1709, allocations: 0 / 0.7259 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1709, allocations: 4 kB / 0.7259 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1711, allocations: 184.7 kB / 0.7261 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1711, allocations: 3.938 kB / 0.7261 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.1712, allocations: 11.98 kB / 0.7261 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1712, allocations: 0 / 0.7261 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.1712, allocations: 0 / 0.7261 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1712, allocations: 3.938 kB / 0.7261 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1712, allocations: 0 / 0.7261 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1714, allocations: 128.9 kB / 0.7262 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.1715, allocations: 15.91 kB / 0.7262 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1715, allocations: 4 kB / 0.7262 GB, free: 8.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.1716, allocations: 11.92 kB / 0.7262 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1716, allocations: 7.984 kB / 0.7262 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.1716, allocations: 4 kB / 0.7262 GB, free: 8.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001818/0.1718, allocations: 196.5 kB / 0.7264 GB, free: 8.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.7264 GB, free: 8.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002074/0.172, allocations: 16 kB / 0.7264 GB, free: 8.246 MB / 0.545 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.0002121/0.1722, allocations: 133.5 kB / 0.7266 GB, free: 8.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.1725, allocations: 51.95 kB / 0.7266 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1725, allocations: 0 / 0.7266 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1726, allocations: 31.91 kB / 0.7267 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1729, allocations: 48.86 kB / 0.7267 GB, free: 7.988 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.1734, allocations: 326.8 kB / 0.727 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1738, allocations: 0.7314 MB / 0.7277 GB, free: 6.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.1738, allocations: 11.44 kB / 0.7277 GB, free: 6.863 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1738, allocations: 0 / 0.7277 GB, free: 6.863 MB / 0.545 GB Notification: Performance of Templates: time 0.004387/0.1782, allocations: 2.172 MB / 0.7299 GB, free: 4.703 MB / 0.545 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/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 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: 4.47302727913484] Failed to read output from testmodel.py, exit status != 0: 0.18638964602723718 0.20017859400000002 0.031310508 Calling exit ...