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.001078/0.001078, allocations: 107.2 kB / 16.41 MB, free: 6.461 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.001132/0.001132, allocations: 187 kB / 17.34 MB, free: 5.723 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.06 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.8438/0.8438, allocations: 143 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 72.66 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1644, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003094/0.1675, allocations: 1.646 MB / 0.6779 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.1685, allocations: 0.5416 MB / 0.6784 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1687, allocations: 4 kB / 0.6784 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1689, allocations: 27.73 kB / 0.6784 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1692, allocations: 63.67 kB / 0.6785 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.1694, allocations: 67.84 kB / 0.6786 GB, free: 8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1696, allocations: 135.5 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1697, allocations: 53.39 kB / 0.6788 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1699, allocations: 55.78 kB / 0.6788 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.17, allocations: 59.69 kB / 0.6789 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.17, allocations: 8 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1701, allocations: 27.92 kB / 0.6789 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.307e-05/0.1702, allocations: 47.89 kB / 0.6789 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.1703, allocations: 67.55 kB / 0.679 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1705, allocations: 147.4 kB / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1705, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1705, allocations: 0 / 0.6791 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.1706, allocations: 0 / 0.6791 GB, free: 7.406 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.000665/0.1712, allocations: 470.5 kB / 0.6796 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1713, allocations: 8.031 kB / 0.6796 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.1713, allocations: 16.75 kB / 0.6796 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1717, allocations: 244.8 kB / 0.6799 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1717, allocations: 4.375 kB / 0.6799 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.1717, allocations: 8.312 kB / 0.6799 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.172, allocations: 113.2 kB / 0.68 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.172, allocations: 0 / 0.68 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1721, allocations: 0 / 0.68 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1721, allocations: 4 kB / 0.68 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.1723, allocations: 63.94 kB / 0.68 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.1729, allocations: 384.4 kB / 0.6804 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1731, allocations: 38.56 kB / 0.6804 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1732, allocations: 32.89 kB / 0.6805 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.1732, allocations: 0 / 0.6805 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.1734, allocations: 101 kB / 0.6806 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1735, allocations: 0 / 0.6806 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004481/0.1739, allocations: 121.4 kB / 0.6807 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.174, allocations: 81.09 kB / 0.6808 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1742, allocations: 249 kB / 0.681 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1742, allocations: 29.7 kB / 0.681 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.1743, allocations: 132 kB / 0.6812 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.1744, allocations: 7.906 kB / 0.6812 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.1744, allocations: 21.66 kB / 0.6812 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1745, allocations: 330.8 kB / 0.6815 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1746, allocations: 23.92 kB / 0.6815 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1748, allocations: 47.41 kB / 0.6816 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.175, allocations: 74.55 kB / 0.6816 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.175, allocations: 0 / 0.6816 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002718/0.1753, allocations: 105.4 kB / 0.6817 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1753, allocations: 7.938 kB / 0.6817 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1753, allocations: 3.938 kB / 0.6817 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1753, allocations: 7.938 kB / 0.6818 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1754, allocations: 11.98 kB / 0.6818 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1755, allocations: 0 / 0.6818 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.148e-05/0.1756, allocations: 11.98 kB / 0.6818 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1756, allocations: 4 kB / 0.6818 GB, free: 4.445 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.000103/0.1757, allocations: 138.1 kB / 0.6819 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.1757, allocations: 19.72 kB / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1758, allocations: 21.22 kB / 0.682 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1758, allocations: 7.938 kB / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1758, allocations: 0 / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1758, allocations: 0 / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.176, allocations: 213.6 kB / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.176, allocations: 0 / 0.6822 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.158e-05/0.1761, allocations: 11.98 kB / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1761, allocations: 0 / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1761, allocations: 4 kB / 0.6822 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1761, allocations: 7.938 kB / 0.6822 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1761, allocations: 0 / 0.6822 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.1764, allocations: 124.8 kB / 0.6823 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.1764, allocations: 92.92 kB / 0.6824 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1765, allocations: 0 / 0.6824 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1766, allocations: 15.92 kB / 0.6824 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.1766, allocations: 7.984 kB / 0.6824 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.1766, allocations: 4 kB / 0.6824 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001732/0.1768, allocations: 192.5 kB / 0.6826 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1768, allocations: 0 / 0.6826 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002211/0.177, allocations: 16 kB / 0.6826 GB, free: 3.488 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.0002057/0.1773, allocations: 126.1 kB / 0.6827 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.1775, allocations: 59.88 kB / 0.6828 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1776, allocations: 0 / 0.6828 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1777, allocations: 36.16 kB / 0.6828 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.178, allocations: 41.09 kB / 0.6829 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.1785, allocations: 313.7 kB / 0.6832 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1788, allocations: 0.7196 MB / 0.6839 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.1788, allocations: 19.42 kB / 0.6839 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1788, allocations: 4 kB / 0.6839 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of Templates: time 0.004266/0.1831, allocations: 2.152 MB / 0.686 GB, free: 15.97 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