Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.561/1.561, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.057 GB, free: 2.082 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3164, allocations: 160.7 MB / 1.214 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.003191/0.3196, allocations: 1.641 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.3206, allocations: 0.5541 MB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.3207, allocations: 4 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.3209, allocations: 31.72 kB / 1.216 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002688/0.3211, allocations: 70.86 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3213, allocations: 63.91 kB / 1.216 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.3215, allocations: 131.5 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3217, allocations: 37.48 kB / 1.217 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3218, allocations: 55.77 kB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.3219, allocations: 75.56 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.322, allocations: 8 kB / 1.217 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.718e-05/0.322, allocations: 19.98 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3221, allocations: 51.83 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.3222, allocations: 55.61 kB / 1.217 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.3225, allocations: 155.2 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3225, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3225, allocations: 0 / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.3225, allocations: 4 kB / 1.217 GB, free: 14.07 MB / 0.9669 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.0007256/0.3232, allocations: 466.5 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3232, allocations: 12.03 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.3233, allocations: 20.8 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.3236, allocations: 248.9 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3236, allocations: 4.375 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3237, allocations: 4.375 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.324, allocations: 106 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.324, allocations: 0 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.324, allocations: 11.94 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.324, allocations: 0 / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.3242, allocations: 63.94 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.3249, allocations: 384.5 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.325, allocations: 38.5 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3252, allocations: 36.89 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3252, allocations: 0 / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002403/0.3254, allocations: 97.08 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.3254, allocations: 0 / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004726/0.3259, allocations: 129.4 kB / 1.218 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.326, allocations: 81.09 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.3263, allocations: 249 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3263, allocations: 25.7 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.549e-05/0.3264, allocations: 132.1 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3264, allocations: 7.891 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.3264, allocations: 13.72 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3266, allocations: 334.8 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3267, allocations: 23.98 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3268, allocations: 47.41 kB / 1.219 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.3271, allocations: 74.48 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3271, allocations: 0 / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002872/0.3274, allocations: 101.5 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3274, allocations: 12.09 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.3274, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3274, allocations: 3.938 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.3275, allocations: 15.92 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3275, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.3276, allocations: 15.94 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3276, allocations: 4 kB / 1.22 GB, free: 11.1 MB / 0.9669 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.0001233/0.3277, allocations: 125.8 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3278, allocations: 20.19 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.3278, allocations: 21.23 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3278, allocations: 7.922 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3278, allocations: 0 / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3278, allocations: 3.938 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.328, allocations: 213.6 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.328, allocations: 0 / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.3281, allocations: 15.92 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3281, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3281, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3281, allocations: 7.938 kB / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3281, allocations: 0 / 1.22 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3285, allocations: 128.9 kB / 1.22 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.3285, allocations: 89.02 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.3286, allocations: 0 / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.3286, allocations: 19.92 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3287, allocations: 0 / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.3287, allocations: 7.984 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000196/0.3289, allocations: 188.5 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3289, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002293/0.3291, allocations: 27.92 kB / 1.22 GB, free: 10.14 MB / 0.9669 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.0002842/0.3294, allocations: 127 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3297, allocations: 51.94 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3297, allocations: 0 / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3298, allocations: 27.97 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.3302, allocations: 50.25 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.3308, allocations: 329.4 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.3312, allocations: 0.7158 MB / 1.222 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.3312, allocations: 19.42 kB / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3312, allocations: 0 / 1.222 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.004553/0.3358, allocations: 2.109 MB / 1.224 GB, free: 6.68 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] make -j1 -f Buildings_10_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 -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppBuildings_10_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 10.1.1-maint.10.0.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_10_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.707469755085185] Failed to read output from testmodel.py, exit status != 0: 0.344501162879169 0.35786465 0.032558378 Calling exit ...