Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001713/0.001713, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002212/0.002212, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Buildings 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.002225/0.002225, allocations: 68 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3922, allocations: 170 MB / 1.284 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00344/0.3956, allocations: 1.65 MB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3969, allocations: 0.5784 MB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.397, allocations: 7.938 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.3972, allocations: 35.77 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.3975, allocations: 60.44 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.3977, allocations: 79.83 kB / 1.286 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3979, allocations: 131.5 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.3981, allocations: 37.55 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3983, allocations: 63.77 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.3984, allocations: 63.69 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3984, allocations: 11.94 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.143e-05/0.3985, allocations: 31.98 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3986, allocations: 47.83 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.3987, allocations: 47.67 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3989, allocations: 147.3 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3989, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3989, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.399, allocations: 0 / 1.287 GB, free: 9.059 MB / 0.9825 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.0007294/0.3997, allocations: 401.3 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3997, allocations: 8.031 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.3999, allocations: 28.83 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.4003, allocations: 190.1 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4003, allocations: 384 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.4004, allocations: 8.375 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.4008, allocations: 162.5 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4008, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.4008, allocations: 12 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4008, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.401, allocations: 59.94 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.4016, allocations: 308.2 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.4018, allocations: 38.55 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.4019, allocations: 40.83 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.4019, allocations: 3.938 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.4022, allocations: 144.5 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4022, allocations: 0 / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0004783/0.4027, allocations: 117.5 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.4028, allocations: 88.98 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.4031, allocations: 244 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.4031, allocations: 29.69 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4032, allocations: 128 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4032, allocations: 15.88 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.4033, allocations: 21.7 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4034, allocations: 322.8 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4036, allocations: 23.97 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4037, allocations: 77.11 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.4039, allocations: 70.47 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4039, allocations: 0 / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.4043, allocations: 105.5 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/0.4043, allocations: 4 kB / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4043, allocations: 0 / 1.289 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.4043, allocations: 4 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4044, allocations: 11.98 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4045, allocations: 3.938 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.942e-05/0.4045, allocations: 11.98 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4046, allocations: 0 / 1.289 GB, free: 6.191 MB / 0.9825 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.0001254/0.4047, allocations: 129.8 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.4047, allocations: 23.92 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.4048, allocations: 17.02 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4048, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4048, allocations: 3.938 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4048, allocations: 0 / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4049, allocations: 149.3 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4049, allocations: 4 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-05/0.405, allocations: 7.984 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.405, allocations: 7.938 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.405, allocations: 0 / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.405, allocations: 8 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.405, allocations: 0 / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.4054, allocations: 124.9 kB / 1.29 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.4054, allocations: 11.91 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.4054, allocations: 0 / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.4055, allocations: 11.98 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.4056, allocations: 8.25 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.4056, allocations: 11.94 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001914/0.4058, allocations: 189.5 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4058, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002365/0.406, allocations: 27.89 kB / 1.29 GB, free: 5.41 MB / 0.9825 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.0003062/0.4063, allocations: 118.7 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003047/0.4066, allocations: 59.88 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4066, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4067, allocations: 27.97 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.4071, allocations: 38.33 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.4077, allocations: 326.5 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4079, allocations: 114.2 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.4079, allocations: 19.42 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.4079, allocations: 0 / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.004896/0.4128, allocations: 2.113 MB / 1.293 GB, free: 2.559 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] make -j1 -f Buildings_11_Buildings.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/Buildings 11.1.1-maint.11.x/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/Buildings 11.1.1-maint.11.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppBuildings_11_Buildings.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/Buildings 11.1.1-maint.11.x/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: *** [: OMCppBuildings_11_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.983833377249539] Failed to read output from testmodel.py, exit status != 0: 1.2497557797469199 0.438014241 0.035633612 Calling exit ...