Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001702/0.001702, allocations: 105 kB / 20.45 MB, free: 1.5 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.002141/0.002141, allocations: 219.7 kB / 23.76 MB, free: 4.711 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.047/1.047, allocations: 150 MB / 463.9 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") translateModel(IBPSA.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: IBPSA 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.002265/0.002265, allocations: 64.25 kB / 0.6425 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1768, allocations: 89.17 MB / 0.7296 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003504/0.1803, allocations: 1.677 MB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1815, allocations: 0.6234 MB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1817, allocations: 3.938 kB / 0.7318 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1819, allocations: 27.73 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1822, allocations: 71.66 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.1825, allocations: 71.86 kB / 0.732 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.1827, allocations: 139.5 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1829, allocations: 29.67 kB / 0.7321 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.1831, allocations: 75.69 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1832, allocations: 59.7 kB / 0.7323 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.1832, allocations: 8 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.1833, allocations: 24 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1834, allocations: 51.83 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.1835, allocations: 63.53 kB / 0.7324 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.1838, allocations: 147.3 kB / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1838, allocations: 0 / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1838, allocations: 0 / 0.7325 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.1838, allocations: 0 / 0.7325 GB, free: 13.74 MB / 0.5606 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.0006821/0.1845, allocations: 413.2 kB / 0.7329 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1845, allocations: 12.03 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1847, allocations: 28.83 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.185, allocations: 174.1 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.185, allocations: 8.375 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.1851, allocations: 4.375 kB / 0.7332 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1854, allocations: 117.9 kB / 0.7333 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1854, allocations: 7.938 kB / 0.7333 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1854, allocations: 7.938 kB / 0.7333 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1854, allocations: 4 kB / 0.7333 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.1856, allocations: 63.44 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.1863, allocations: 351.6 kB / 0.7337 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1864, allocations: 42.56 kB / 0.7337 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1866, allocations: 24.89 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.1866, allocations: 4 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002321/0.1868, allocations: 101.1 kB / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1868, allocations: 0 / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004665/0.1873, allocations: 121.4 kB / 0.734 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.1873, allocations: 77.11 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1876, allocations: 260.9 kB / 0.7343 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1876, allocations: 29.69 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1878, allocations: 128.1 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.1878, allocations: 7.953 kB / 0.7344 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1878, allocations: 17.7 kB / 0.7345 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.188, allocations: 326.8 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1881, allocations: 27.97 kB / 0.7348 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1882, allocations: 51.41 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.1884, allocations: 70.41 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1884, allocations: 0 / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002949/0.1887, allocations: 105.5 kB / 0.735 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1887, allocations: 8 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1887, allocations: 0 / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1888, allocations: 4.219 kB / 0.735 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1889, allocations: 11.98 kB / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1889, allocations: 0 / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.189, allocations: 23.86 kB / 0.7351 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.189, allocations: 8.094 kB / 0.7351 GB, free: 10.93 MB / 0.5606 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.0001143/0.1891, allocations: 125.8 kB / 0.7352 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1891, allocations: 19.86 kB / 0.7352 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.1892, allocations: 25.33 kB / 0.7352 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1892, allocations: 3.938 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1892, allocations: 3.938 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1892, allocations: 0 / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1894, allocations: 184.7 kB / 0.7354 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.1894, allocations: 3.984 kB / 0.7354 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/0.1895, allocations: 15.98 kB / 0.7354 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1895, allocations: 0 / 0.7354 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1895, allocations: 0 / 0.7354 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1895, allocations: 3.938 kB / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1895, allocations: 0 / 0.7354 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1898, allocations: 124.9 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.1899, allocations: 15.91 kB / 0.7356 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1899, allocations: 4 kB / 0.7356 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.19, allocations: 15.92 kB / 0.7356 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.19, allocations: 3.984 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.19, allocations: 8 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002013/0.1902, allocations: 192.5 kB / 0.7358 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1902, allocations: 0 / 0.7358 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002277/0.1905, allocations: 19.95 kB / 0.7358 GB, free: 10.11 MB / 0.5606 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.0002497/0.1907, allocations: 131.9 kB / 0.7359 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.191, allocations: 55.88 kB / 0.736 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.191, allocations: 4.188 kB / 0.736 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.1911, allocations: 23.98 kB / 0.736 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1914, allocations: 46.2 kB / 0.7361 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.192, allocations: 310.3 kB / 0.7363 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1924, allocations: 0.7276 MB / 0.7371 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.1924, allocations: 15.44 kB / 0.7371 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of SimCode: time 3.5e-07/0.1924, allocations: 0 / 0.7371 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of Templates: time 0.004993/0.1974, allocations: 2.136 MB / 0.7392 GB, free: 6.625 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] make -j1 -f IBPSA_latest_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterFunctions.cpp:115:21: error: no matching function for call to 'jsonWriterInit' jsonWriter__ext = jsonWriterInit(instanceName_.c_str(), fileName_.c_str(), dumpAtDestruction__ext, varKeys_.getDim(1), varKeys__ext); ^~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/Resources/C-Sources/jsonWriterInit.c:19:7: note: candidate function not viable: no known conversion from 'CStrArray' to 'char **' for 5th argument void* jsonWriterInit( ^ 1 error generated. make: *** [: OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.244691747939214] Failed to read output from testmodel.py, exit status != 0: 0.2068348389584571 0.223238456 0.035984153000000005 Calling exit ...