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.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.001261/0.001261, allocations: 117.2 kB / 17.81 MB, free: 5.137 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.001277/0.001277, allocations: 189.5 kB / 20.74 MB, free: 2.207 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.405/1.405, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8264/0.8264, allocations: 128.4 MB / 432.4 MB, free: 13.11 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.89 kB / 0.5987 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3779, allocations: 83.27 MB / 0.68 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.JSONWriter): time 0.002536/0.3805, allocations: 1.64 MB / 0.6816 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.3812, allocations: 0.5467 MB / 0.6821 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.3813, allocations: 6.188 kB / 0.6822 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.3815, allocations: 34.55 kB / 0.6822 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002261/0.3817, allocations: 56.69 kB / 0.6822 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.3818, allocations: 71.84 kB / 0.6823 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.382, allocations: 133.2 kB / 0.6824 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3821, allocations: 33.42 kB / 0.6825 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.3822, allocations: 65.67 kB / 0.6825 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3823, allocations: 55.67 kB / 0.6826 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3824, allocations: 7.531 kB / 0.6826 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.3824, allocations: 28.56 kB / 0.6826 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.3825, allocations: 47.62 kB / 0.6827 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3826, allocations: 68.12 kB / 0.6827 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.3827, allocations: 135.3 kB / 0.6829 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3827, allocations: 5.156 kB / 0.6829 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3827, allocations: 0 / 0.6829 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3828, allocations: 0 / 0.6829 GB, free: 4.77 MB / 0.4981 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.0005282/0.3833, allocations: 466.4 kB / 0.6833 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3833, allocations: 12.94 kB / 0.6833 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3834, allocations: 25.73 kB / 0.6833 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.3836, allocations: 241.2 kB / 0.6836 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3836, allocations: 6.969 kB / 0.6836 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.3836, allocations: 8.516 kB / 0.6836 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.3839, allocations: 120.5 kB / 0.6837 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3839, allocations: 0 / 0.6837 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3839, allocations: 5.156 kB / 0.6837 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3839, allocations: 6 kB / 0.6837 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.3841, allocations: 62.75 kB / 0.6838 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000481/0.3846, allocations: 380.2 kB / 0.6841 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3847, allocations: 44.77 kB / 0.6842 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.3848, allocations: 25.92 kB / 0.6842 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3849, allocations: 1.406 kB / 0.6842 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.385, allocations: 97.67 kB / 0.6843 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.385, allocations: 4 kB / 0.6843 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004024/0.3855, allocations: 119.4 kB / 0.6844 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3855, allocations: 78.45 kB / 0.6845 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3857, allocations: 260.4 kB / 0.6847 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3857, allocations: 26.83 kB / 0.6848 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.3858, allocations: 127.8 kB / 0.6849 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.3858, allocations: 14.06 kB / 0.6849 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.3858, allocations: 17.12 kB / 0.6849 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.712e-05/0.3859, allocations: 335.6 kB / 0.6852 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.386, allocations: 16.8 kB / 0.6853 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3861, allocations: 51.81 kB / 0.6853 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3863, allocations: 75.17 kB / 0.6854 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3863, allocations: 0 / 0.6854 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002645/0.3866, allocations: 106.1 kB / 0.6855 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3866, allocations: 6.344 kB / 0.6855 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3866, allocations: 0 / 0.6855 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3866, allocations: 5.094 kB / 0.6855 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3867, allocations: 12.14 kB / 0.6855 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3867, allocations: 1.219 kB / 0.6855 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.3868, allocations: 14.61 kB / 0.6855 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.3868, allocations: 2.531 kB / 0.6855 GB, free: 2.355 MB / 0.4981 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 8.256e-05/0.3869, allocations: 135.8 kB / 0.6856 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.3869, allocations: 20.42 kB / 0.6857 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.3869, allocations: 22.39 kB / 0.6857 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3869, allocations: 4.781 kB / 0.6857 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.387, allocations: 0.9375 kB / 0.6857 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.387, allocations: 0 / 0.6857 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3871, allocations: 211.2 kB / 0.6859 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3871, allocations: 1.094 kB / 0.6859 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.816e-05/0.3872, allocations: 15.11 kB / 0.6859 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3872, allocations: 1.031 kB / 0.6859 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.3872, allocations: 0 / 0.6859 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3872, allocations: 12.94 kB / 0.6859 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3872, allocations: 0 / 0.6859 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3874, allocations: 128.2 kB / 0.686 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.3875, allocations: 94.17 kB / 0.6861 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3875, allocations: 0 / 0.6861 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/0.3876, allocations: 17.92 kB / 0.6862 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3876, allocations: 2.594 kB / 0.6862 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3876, allocations: 8.359 kB / 0.6862 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001555/0.3878, allocations: 183.9 kB / 0.6863 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3878, allocations: 0 / 0.6863 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.388, allocations: 25.55 kB / 0.6864 GB, free: 1.59 MB / 0.4981 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.0002249/0.3882, allocations: 126.3 kB / 0.6865 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.3885, allocations: 59.34 kB / 0.6865 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3885, allocations: 192 / 0.6865 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3886, allocations: 32.31 kB / 0.6866 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.3889, allocations: 45.2 kB / 0.6866 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3894, allocations: 304.7 kB / 0.6869 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.3895, allocations: 0.7172 MB / 0.6876 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.3895, allocations: 18.09 kB / 0.6876 GB, free: 460 kB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.3895, allocations: 0 / 0.6876 GB, free: 460 kB / 0.4981 GB Notification: Performance of Templates: time 0.004162/0.3937, allocations: 2.129 MB / 0.6897 GB, free: 15.34 MB / 0.5137 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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/IBPSA 4.0.0-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 4.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: *** [: OMCppIBPSA_latest_IBPSA.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.785203015897423] Failed to read output from testmodel.py, exit status != 0: 0.4013715488836169 0.41380309600000004 0.028360447 Calling exit ...