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.001259/0.001259, allocations: 100.1 kB / 15.88 MB, free: 12 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.002012/0.002012, allocations: 198.6 kB / 16.79 MB, free: 6.809 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.357/1.357, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.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 1.007/1.007, allocations: 143 MB / 433.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.5142 GB, free: 12.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1672, allocations: 82.03 MB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003017/0.1702, allocations: 1.699 MB / 0.5959 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008623/0.1711, allocations: 0.5339 MB / 0.5964 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.1712, allocations: 3.938 kB / 0.5964 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1714, allocations: 27.86 kB / 0.5965 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1717, allocations: 53.81 kB / 0.5965 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.1718, allocations: 63.86 kB / 0.5966 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.172, allocations: 119.6 kB / 0.5967 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1722, allocations: 41.48 kB / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.1723, allocations: 59.7 kB / 0.5968 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.1724, allocations: 63.69 kB / 0.5969 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.1725, allocations: 4 kB / 0.5969 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.1725, allocations: 20 kB / 0.5969 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.439e-05/0.1726, allocations: 47.77 kB / 0.5969 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1727, allocations: 55.59 kB / 0.597 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1729, allocations: 108 kB / 0.5971 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1729, allocations: 0 / 0.5971 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1729, allocations: 0 / 0.5971 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1729, allocations: 0 / 0.5971 GB, free: 7.199 MB / 0.4981 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.0006535/0.1735, allocations: 466.6 kB / 0.5975 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1736, allocations: 8.031 kB / 0.5975 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.414e-05/0.1736, allocations: 16.75 kB / 0.5976 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1739, allocations: 240.8 kB / 0.5978 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.1739, allocations: 384 / 0.5978 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.174, allocations: 4.375 kB / 0.5978 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1743, allocations: 117.9 kB / 0.5979 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.1743, allocations: 3.984 kB / 0.5979 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1743, allocations: 4 kB / 0.5979 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1743, allocations: 4 kB / 0.5979 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1746, allocations: 67.88 kB / 0.598 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.1752, allocations: 384.5 kB / 0.5983 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1753, allocations: 42.48 kB / 0.5984 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1754, allocations: 32.89 kB / 0.5984 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1754, allocations: 0 / 0.5984 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.1757, allocations: 93.09 kB / 0.5985 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 3.737e-06/0.1757, allocations: 0 / 0.5985 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004377/0.1762, allocations: 133.2 kB / 0.5986 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.1763, allocations: 77.11 kB / 0.5987 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1765, allocations: 253 kB / 0.5989 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1765, allocations: 29.7 kB / 0.599 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.1766, allocations: 128 kB / 0.5991 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1766, allocations: 15.89 kB / 0.5991 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.1767, allocations: 9.719 kB / 0.5991 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1768, allocations: 330.8 kB / 0.5994 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.177, allocations: 27.97 kB / 0.5995 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1771, allocations: 51.41 kB / 0.5995 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.1773, allocations: 66.47 kB / 0.5996 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1773, allocations: 0 / 0.5996 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002694/0.1776, allocations: 109.4 kB / 0.5997 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1776, allocations: 8 kB / 0.5997 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1776, allocations: 0 / 0.5997 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1776, allocations: 3.938 kB / 0.5997 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1778, allocations: 11.98 kB / 0.5997 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1778, allocations: 3.984 kB / 0.5997 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.1779, allocations: 16 kB / 0.5997 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1779, allocations: 7.984 kB / 0.5997 GB, free: 4.234 MB / 0.4981 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.0001108/0.178, allocations: 122.5 kB / 0.5998 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.178, allocations: 19.8 kB / 0.5999 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.1781, allocations: 17.25 kB / 0.5999 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1781, allocations: 7.875 kB / 0.5999 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1781, allocations: 0 / 0.5999 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1781, allocations: 0 / 0.5999 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1783, allocations: 217.9 kB / 0.6001 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1783, allocations: 4 kB / 0.6001 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-05/0.1784, allocations: 11.98 kB / 0.6001 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1784, allocations: 0 / 0.6001 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1784, allocations: 0 / 0.6001 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1784, allocations: 3.938 kB / 0.6001 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1784, allocations: 3.984 kB / 0.6001 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1787, allocations: 120.9 kB / 0.6002 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1788, allocations: 96.86 kB / 0.6003 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1788, allocations: 7.922 kB / 0.6003 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1789, allocations: 15.92 kB / 0.6003 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/0.179, allocations: 0 / 0.6003 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.179, allocations: 4 kB / 0.6004 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002482/0.1793, allocations: 196.4 kB / 0.6005 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1793, allocations: 0 / 0.6005 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002211/0.1795, allocations: 27.91 kB / 0.6006 GB, free: 3.277 MB / 0.4981 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.000221/0.1798, allocations: 118.6 kB / 0.6007 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.18, allocations: 60 kB / 0.6007 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.18, allocations: 0 / 0.6007 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1802, allocations: 31.91 kB / 0.6008 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1805, allocations: 36.41 kB / 0.6008 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.181, allocations: 348 kB / 0.6011 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1813, allocations: 0.7238 MB / 0.6018 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.1814, allocations: 15.42 kB / 0.6019 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1814, allocations: 0 / 0.6019 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.2321/0.4135, allocations: 2.13 MB / 0.6039 GB, free: 43.36 MB / 0.4981 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++14 -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