Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001326/0.001326, allocations: 115.6 kB / 17.08 MB, free: 5.977 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.001283/0.001283, allocations: 192.7 kB / 20.03 MB, free: 3.047 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.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 489.3 MB / 0.7687 GB, free: 3.789 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.JSONWriter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002942/1.016, allocations: 1.641 MB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000887/1.017, allocations: 0.5404 MB / 1.265 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/1.017, allocations: 6.812 kB / 1.265 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/1.017, allocations: 27.08 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/1.017, allocations: 65.88 kB / 1.265 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/1.017, allocations: 61.19 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/1.018, allocations: 137.2 kB / 1.265 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/1.018, allocations: 47.53 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/1.018, allocations: 62.3 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/1.018, allocations: 61.88 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/1.018, allocations: 8.469 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.689e-05/1.018, allocations: 26.38 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/1.018, allocations: 39.55 kB / 1.265 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/1.018, allocations: 60.66 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/1.019, allocations: 149.7 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/1.019, allocations: 4.875 kB / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/1.019, allocations: 0 / 1.265 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.095e-05/1.019, allocations: 0.5156 kB / 1.265 GB, free: 6.129 MB / 0.9981 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.0006146/1.019, allocations: 470.8 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.019, allocations: 9.547 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/1.019, allocations: 25.98 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/1.02, allocations: 239.8 kB / 1.266 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/1.02, allocations: 6.281 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/1.02, allocations: 4.5 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002951/1.02, allocations: 107 kB / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.02, allocations: 0 / 1.266 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/1.02, allocations: 5.484 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/1.02, allocations: 1.75 kB / 1.266 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/1.02, allocations: 68.02 kB / 1.266 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/1.021, allocations: 388.2 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/1.021, allocations: 40.27 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.021, allocations: 32.28 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/1.021, allocations: 0.8125 kB / 1.267 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/1.022, allocations: 97.14 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/1.022, allocations: 3.938 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004679/1.022, allocations: 127.4 kB / 1.267 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.022, allocations: 78.14 kB / 1.267 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/1.022, allocations: 255.2 kB / 1.267 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/1.022, allocations: 27.03 kB / 1.267 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/1.022, allocations: 130 kB / 1.267 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/1.022, allocations: 6.047 kB / 1.267 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/1.023, allocations: 19.25 kB / 1.267 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.723e-05/1.023, allocations: 336.1 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/1.023, allocations: 20.11 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/1.023, allocations: 47.86 kB / 1.268 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/1.023, allocations: 73.19 kB / 1.268 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.023, allocations: 0 / 1.268 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002847/1.023, allocations: 110.6 kB / 1.268 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.023, allocations: 9.312 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.023, allocations: 4.797 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.023, allocations: 5.281 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.024, allocations: 12.27 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.024, allocations: 0.7188 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/1.024, allocations: 11.38 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/1.024, allocations: 1.438 kB / 1.268 GB, free: 3.98 MB / 0.9981 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 9.1e-05/1.024, allocations: 139.5 kB / 1.268 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/1.024, allocations: 20.81 kB / 1.268 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/1.024, allocations: 17.92 kB / 1.268 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.024, allocations: 3.938 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.024, allocations: 1.625 kB / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.024, allocations: 0 / 1.268 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/1.024, allocations: 213.9 kB / 1.268 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.024, allocations: 3.938 kB / 1.268 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.292e-05/1.024, allocations: 15.17 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.024, allocations: 1.875 kB / 1.268 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/1.024, allocations: 4 kB / 1.268 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.024, allocations: 7.938 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.024, allocations: 1.438 kB / 1.268 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/1.025, allocations: 117.2 kB / 1.269 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/1.025, allocations: 94.55 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/1.025, allocations: 1.609 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/1.025, allocations: 17.16 kB / 1.269 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/1.025, allocations: 8.406 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/1.025, allocations: 5.453 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001826/1.025, allocations: 187 kB / 1.269 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 1.269 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000233/1.025, allocations: 25.69 kB / 1.269 GB, free: 3.289 MB / 0.9981 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.0002502/1.025, allocations: 131.4 kB / 1.269 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003206/1.026, allocations: 54.28 kB / 1.269 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.026, allocations: 4.906 kB / 1.269 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/1.026, allocations: 36.16 kB / 1.269 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/1.026, allocations: 36.02 kB / 1.269 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/1.027, allocations: 316.6 kB / 1.269 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/1.027, allocations: 0.7157 MB / 1.27 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/1.027, allocations: 16.45 kB / 1.27 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.027, allocations: 0 / 1.27 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of Templates: time 0.005048/1.032, allocations: 2.121 MB / 1.272 GB, free: 1.977 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 300] make -j1 -f Buildings_latest_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 12.0.0-master/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 12.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppBuildings_latest_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 12.0.0-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: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 8.185514094075188] Failed to read output from testmodel.py, exit status != 0: 1.0390171648468822 1.051990612 0.030636434 Calling exit ...