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.001757/0.001757, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.00217/0.00217, allocations: 215 kB / 23.74 MB, free: 4.445 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.785 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 0.9622/0.9622, allocations: 149.9 MB / 463.8 MB, free: 10.79 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.002094/0.002094, allocations: 63.69 kB / 0.6423 GB, free: 9.727 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1734, allocations: 89.18 MB / 0.7294 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.003229/0.1766, allocations: 1.632 MB / 0.731 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1777, allocations: 0.5845 MB / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.1778, allocations: 3.938 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001708/0.178, allocations: 23.8 kB / 0.7316 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1783, allocations: 71.66 kB / 0.7316 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.1785, allocations: 71.84 kB / 0.7317 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1787, allocations: 135.5 kB / 0.7318 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1789, allocations: 33.67 kB / 0.7319 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.179, allocations: 71.69 kB / 0.7319 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1791, allocations: 59.64 kB / 0.732 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.1792, allocations: 8 kB / 0.732 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.1793, allocations: 24 kB / 0.732 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1794, allocations: 51.81 kB / 0.7321 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.1794, allocations: 43.67 kB / 0.7321 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1797, allocations: 151.2 kB / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1797, allocations: 0 / 0.7322 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1797, allocations: 4 kB / 0.7323 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1797, allocations: 4 kB / 0.7323 GB, free: 13.64 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.0006605/0.1803, allocations: 409.2 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1804, allocations: 8.031 kB / 0.7327 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1805, allocations: 28.83 kB / 0.7327 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.1809, allocations: 182.1 kB / 0.7329 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1809, allocations: 12.36 kB / 0.7329 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1809, allocations: 4.375 kB / 0.7329 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1812, allocations: 165.4 kB / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1812, allocations: 0 / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1813, allocations: 0 / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1813, allocations: 0 / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.1815, allocations: 63.94 kB / 0.7331 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005798/0.1821, allocations: 316.2 kB / 0.7334 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.1822, allocations: 42.48 kB / 0.7334 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1823, allocations: 24.91 kB / 0.7335 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1824, allocations: 3.984 kB / 0.7335 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.1826, allocations: 148.5 kB / 0.7336 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1826, allocations: 0 / 0.7336 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.000435/0.1831, allocations: 121.5 kB / 0.7337 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1831, allocations: 84.98 kB / 0.7338 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1834, allocations: 244 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1834, allocations: 29.7 kB / 0.7341 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1835, allocations: 128.1 kB / 0.7342 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1836, allocations: 11.89 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1836, allocations: 13.72 kB / 0.7342 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1838, allocations: 334.8 kB / 0.7345 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1839, allocations: 19.98 kB / 0.7345 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.184, allocations: 81.11 kB / 0.7346 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.1843, allocations: 74.48 kB / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1843, allocations: 0 / 0.7347 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002866/0.1845, allocations: 97.48 kB / 0.7348 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1846, allocations: 4 kB / 0.7348 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1846, allocations: 4 kB / 0.7348 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1846, allocations: 3.938 kB / 0.7348 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1847, allocations: 11.98 kB / 0.7348 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1847, allocations: 8.031 kB / 0.7348 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.1848, allocations: 19.94 kB / 0.7348 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.1848, allocations: 0 / 0.7348 GB, free: 10.76 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.0001236/0.1849, allocations: 125.8 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1849, allocations: 15.91 kB / 0.735 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.185, allocations: 21.02 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.185, allocations: 0 / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.185, allocations: 7.938 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.185, allocations: 0 / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1852, allocations: 145.3 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1852, allocations: 4 kB / 0.7351 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.182e-05/0.1852, allocations: 15.92 kB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1852, allocations: 0 / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.1853, allocations: 3.938 kB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1853, allocations: 3.984 kB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1853, allocations: 0 / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.1856, allocations: 120.9 kB / 0.7353 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.1856, allocations: 15.91 kB / 0.7353 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1856, allocations: 0 / 0.7353 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.1857, allocations: 15.98 kB / 0.7353 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.1857, allocations: 7.922 kB / 0.7353 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1858, allocations: 8 kB / 0.7353 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001884/0.1859, allocations: 173.8 kB / 0.7355 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1859, allocations: 0 / 0.7355 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000235/0.1862, allocations: 27.89 kB / 0.7355 GB, free: 10.01 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.0002565/0.1864, allocations: 125 kB / 0.7356 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.1867, allocations: 55.94 kB / 0.7357 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1867, allocations: 0 / 0.7357 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1868, allocations: 32.16 kB / 0.7357 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1871, allocations: 41.59 kB / 0.7358 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1877, allocations: 310.3 kB / 0.7361 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.1878, allocations: 110.1 kB / 0.7362 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.1879, allocations: 19.44 kB / 0.7362 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.1879, allocations: 0 / 0.7362 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.004434/0.1923, allocations: 2.129 MB / 0.7383 GB, free: 7.152 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 -DOMC_BUILD -DUSE_THREAD -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.1772267310880125] Failed to read output from testmodel.py, exit status != 0: 0.20098045375198126 0.215955679 0.033046740000000005 Calling exit ...