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.001448/0.001448, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001514/0.001514, allocations: 220.4 kB / 23 MB, free: 4.914 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.89/0.89, allocations: 145 MB / 458.2 MB, free: 15.29 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.002099/0.002099, allocations: 67.12 kB / 0.6343 GB, free: 6.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1631, allocations: 87.88 MB / 0.7201 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003179/0.1663, allocations: 1.631 MB / 0.7217 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1673, allocations: 0.5773 MB / 0.7223 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.1674, allocations: 7.938 kB / 0.7223 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.1676, allocations: 35.7 kB / 0.7223 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1679, allocations: 59.73 kB / 0.7224 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1681, allocations: 79.84 kB / 0.7225 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1683, allocations: 131.5 kB / 0.7226 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.1684, allocations: 37.66 kB / 0.7226 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.1686, allocations: 63.72 kB / 0.7227 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1687, allocations: 59.75 kB / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1687, allocations: 8 kB / 0.7227 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.1688, allocations: 23.98 kB / 0.7228 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.1689, allocations: 47.83 kB / 0.7228 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.037e-05/0.169, allocations: 51.61 kB / 0.7229 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1692, allocations: 159.2 kB / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1692, allocations: 0 / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1692, allocations: 0 / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1692, allocations: 4 kB / 0.723 GB, free: 11.4 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.0006526/0.1699, allocations: 401.3 kB / 0.7234 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1699, allocations: 8.031 kB / 0.7234 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.1701, allocations: 32.77 kB / 0.7234 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.1704, allocations: 186.1 kB / 0.7236 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1704, allocations: 4.375 kB / 0.7236 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.1704, allocations: 8.375 kB / 0.7236 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1708, allocations: 164.5 kB / 0.7238 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1708, allocations: 0 / 0.7238 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.1708, allocations: 11.94 kB / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1708, allocations: 3.938 kB / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.171, allocations: 63.94 kB / 0.7239 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005795/0.1716, allocations: 308.2 kB / 0.7242 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1717, allocations: 38.56 kB / 0.7242 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1718, allocations: 32.89 kB / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.1719, allocations: 0 / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.1721, allocations: 152.5 kB / 0.7244 GB, free: 9.871 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1721, allocations: 0 / 0.7244 GB, free: 9.871 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004255/0.1725, allocations: 129.5 kB / 0.7245 GB, free: 9.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.1726, allocations: 81.05 kB / 0.7246 GB, free: 9.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.1729, allocations: 236.1 kB / 0.7248 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1729, allocations: 25.7 kB / 0.7248 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.173, allocations: 132 kB / 0.7249 GB, free: 9.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.173, allocations: 15.94 kB / 0.725 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.173, allocations: 13.72 kB / 0.725 GB, free: 9.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1732, allocations: 330.8 kB / 0.7253 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1733, allocations: 23.97 kB / 0.7253 GB, free: 8.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1735, allocations: 77.11 kB / 0.7254 GB, free: 8.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1737, allocations: 66.47 kB / 0.7254 GB, free: 8.676 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1737, allocations: 4.031 kB / 0.7254 GB, free: 8.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002667/0.1739, allocations: 101.5 kB / 0.7255 GB, free: 8.566 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1739, allocations: 6.656 kB / 0.7256 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1739, allocations: 0 / 0.7256 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.174, allocations: 4 kB / 0.7256 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1741, allocations: 15.97 kB / 0.7256 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1741, allocations: 8.031 kB / 0.7256 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.11e-05/0.1742, allocations: 15.88 kB / 0.7256 GB, free: 8.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1742, allocations: 3.984 kB / 0.7256 GB, free: 8.516 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.0001077/0.1743, allocations: 129.8 kB / 0.7257 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1743, allocations: 19.89 kB / 0.7257 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1743, allocations: 13.03 kB / 0.7258 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1743, allocations: 288 / 0.7258 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1743, allocations: 3.938 kB / 0.7258 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1744, allocations: 3.984 kB / 0.7258 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1745, allocations: 153.3 kB / 0.7259 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1745, allocations: 8 kB / 0.7259 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.1746, allocations: 7.984 kB / 0.7259 GB, free: 8.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1746, allocations: 4 kB / 0.7259 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.1746, allocations: 0 / 0.7259 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1746, allocations: 0 / 0.7259 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1746, allocations: 0 / 0.7259 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.1749, allocations: 128.8 kB / 0.726 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.1749, allocations: 19.83 kB / 0.7261 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.1749, allocations: 4 kB / 0.7261 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.175, allocations: 11.98 kB / 0.7261 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.1751, allocations: 7.938 kB / 0.7261 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1751, allocations: 7.984 kB / 0.7261 GB, free: 7.941 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001747/0.1753, allocations: 177.8 kB / 0.7263 GB, free: 7.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1753, allocations: 0 / 0.7263 GB, free: 7.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002153/0.1755, allocations: 16 kB / 0.7263 GB, free: 7.754 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.0002257/0.1757, allocations: 119.2 kB / 0.7264 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.176, allocations: 59.88 kB / 0.7265 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.176, allocations: 0 / 0.7265 GB, free: 7.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1761, allocations: 24.17 kB / 0.7265 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.1764, allocations: 56.97 kB / 0.7265 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.1769, allocations: 322.5 kB / 0.7268 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.177, allocations: 110 kB / 0.7269 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.1771, allocations: 15.44 kB / 0.727 GB, free: 7 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.1771, allocations: 0 / 0.727 GB, free: 7 MB / 0.545 GB Notification: Performance of Templates: time 0.004293/0.1814, allocations: 2.169 MB / 0.7291 GB, free: 4.844 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 -DOMC_BUILD -DUSE_THREAD -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.7558323997072875] Failed to read output from testmodel.py, exit status != 0: 0.18981703091412783 0.203686731 0.031449375 Calling exit ...