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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 106.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 183 kB / 17.34 MB, free: 5.766 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.457/1.457, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9494/0.9494, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 68.97 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 82.04 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003099/0.1616, allocations: 1.639 MB / 0.6779 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.1626, allocations: 0.5571 MB / 0.6784 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.1627, allocations: 4 kB / 0.6784 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1629, allocations: 19.78 kB / 0.6785 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.1631, allocations: 63.69 kB / 0.6785 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.1633, allocations: 67.84 kB / 0.6786 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.1635, allocations: 135.6 kB / 0.6787 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1637, allocations: 33.48 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1638, allocations: 67.7 kB / 0.6788 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1639, allocations: 55.7 kB / 0.6789 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1639, allocations: 8 kB / 0.6789 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.164, allocations: 31.97 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.1641, allocations: 47.78 kB / 0.6789 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1642, allocations: 63.59 kB / 0.679 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1644, allocations: 143.3 kB / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1644, allocations: 0 / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1644, allocations: 0 / 0.6791 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.1644, allocations: 0 / 0.6791 GB, free: 7.449 MB / 0.5137 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.0006946/0.1651, allocations: 482.4 kB / 0.6796 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1651, allocations: 8.031 kB / 0.6796 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1652, allocations: 20.84 kB / 0.6796 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1656, allocations: 241 kB / 0.6799 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1656, allocations: 8.375 kB / 0.6799 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1656, allocations: 8.375 kB / 0.6799 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1659, allocations: 112.8 kB / 0.68 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1659, allocations: 0 / 0.68 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.1659, allocations: 4 kB / 0.68 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1659, allocations: 0 / 0.68 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.1662, allocations: 63.94 kB / 0.6801 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.1668, allocations: 392.5 kB / 0.6804 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.167, allocations: 38.56 kB / 0.6805 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1671, allocations: 28.83 kB / 0.6805 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1671, allocations: 0 / 0.6805 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.1674, allocations: 105 kB / 0.6806 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1674, allocations: 0 / 0.6806 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004783/0.1678, allocations: 125.4 kB / 0.6807 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.1679, allocations: 81.11 kB / 0.6808 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1682, allocations: 253 kB / 0.681 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.1682, allocations: 25.7 kB / 0.6811 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1684, allocations: 132.1 kB / 0.6812 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1684, allocations: 7.891 kB / 0.6812 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.1684, allocations: 17.72 kB / 0.6812 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.1686, allocations: 334.8 kB / 0.6815 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1687, allocations: 23.97 kB / 0.6815 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1689, allocations: 55.34 kB / 0.6816 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1691, allocations: 62.56 kB / 0.6817 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1691, allocations: 4 kB / 0.6817 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002888/0.1694, allocations: 101.5 kB / 0.6818 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1694, allocations: 4 kB / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1694, allocations: 0 / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.321e-05/0.1694, allocations: 7.938 kB / 0.6818 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1696, allocations: 16.08 kB / 0.6818 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1696, allocations: 3.938 kB / 0.6818 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.1697, allocations: 16.22 kB / 0.6818 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1697, allocations: 0 / 0.6818 GB, free: 4.465 MB / 0.5137 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.0001385/0.1698, allocations: 129.8 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1698, allocations: 19.89 kB / 0.6819 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.1699, allocations: 17.23 kB / 0.682 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1699, allocations: 3.938 kB / 0.682 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1699, allocations: 4 kB / 0.682 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1699, allocations: 4 kB / 0.682 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1701, allocations: 213.6 kB / 0.6822 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1701, allocations: 0 / 0.6822 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.1702, allocations: 11.98 kB / 0.6822 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1702, allocations: 0 / 0.6822 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.1702, allocations: 3.984 kB / 0.6822 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1702, allocations: 11.88 kB / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1702, allocations: 0 / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.1705, allocations: 128.9 kB / 0.6823 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.1706, allocations: 89.02 kB / 0.6824 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1706, allocations: 4 kB / 0.6824 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.1707, allocations: 15.92 kB / 0.6824 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.1708, allocations: 7.984 kB / 0.6824 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1708, allocations: 4 kB / 0.6824 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001927/0.171, allocations: 192.5 kB / 0.6826 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.171, allocations: 0 / 0.6826 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002199/0.1712, allocations: 23.94 kB / 0.6827 GB, free: 3.5 MB / 0.5137 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.0002528/0.1714, allocations: 115.2 kB / 0.6828 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003061/0.1718, allocations: 59.89 kB / 0.6828 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1718, allocations: 0 / 0.6828 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.1719, allocations: 27.97 kB / 0.6828 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1722, allocations: 51.86 kB / 0.6829 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.1728, allocations: 317.8 kB / 0.6832 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1731, allocations: 0.7158 MB / 0.6839 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1732, allocations: 15.44 kB / 0.6839 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.1732, allocations: 0 / 0.6839 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of Templates: time 0.004486/0.1777, allocations: 2.163 MB / 0.686 GB, free: 15.99 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile 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