Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001519/0.001519, allocations: 116.7 kB / 17.13 MB, free: 5.941 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.001265/0.001265, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.414/1.414, 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/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.079/1.079, allocations: 175.8 MB / 479.1 MB, free: 3.426 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.64 kB / 0.6663 GB, free: 10.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 94.54 MB / 0.7587 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003085/0.1713, allocations: 1.628 MB / 0.7602 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009433/0.1722, allocations: 0.5533 MB / 0.7608 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.69e-05/0.1723, allocations: 0 / 0.7608 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.1725, allocations: 27.78 kB / 0.7608 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.1727, allocations: 67.67 kB / 0.7609 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.1729, allocations: 59.86 kB / 0.7609 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1731, allocations: 131.6 kB / 0.7611 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.1732, allocations: 49.39 kB / 0.7611 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1734, allocations: 59.72 kB / 0.7612 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1735, allocations: 63.69 kB / 0.7612 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.642e-05/0.1735, allocations: 8 kB / 0.7612 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.1736, allocations: 24 kB / 0.7613 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1737, allocations: 47.81 kB / 0.7613 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.13e-05/0.1738, allocations: 59.55 kB / 0.7614 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.174, allocations: 139.4 kB / 0.7615 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.174, allocations: 3.984 kB / 0.7615 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.174, allocations: 0 / 0.7615 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.174, allocations: 0 / 0.7615 GB, free: 14.14 MB / 0.5762 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.0006866/0.1747, allocations: 486.3 kB / 0.762 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1747, allocations: 8.031 kB / 0.762 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1748, allocations: 16.84 kB / 0.762 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1751, allocations: 237 kB / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1751, allocations: 8.375 kB / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.1751, allocations: 4.375 kB / 0.7622 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.1754, allocations: 116.8 kB / 0.7623 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1754, allocations: 4 kB / 0.7623 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1755, allocations: 7.938 kB / 0.7623 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1755, allocations: 0 / 0.7623 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.1757, allocations: 63.94 kB / 0.7624 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.1763, allocations: 384.5 kB / 0.7628 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1765, allocations: 42.55 kB / 0.7628 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.1766, allocations: 32.89 kB / 0.7628 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1766, allocations: 0 / 0.7628 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.1769, allocations: 105 kB / 0.7629 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1769, allocations: 0 / 0.7629 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000466/0.1773, allocations: 125.4 kB / 0.7631 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1774, allocations: 77.11 kB / 0.7631 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1777, allocations: 253 kB / 0.7634 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1777, allocations: 37.64 kB / 0.7634 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.1778, allocations: 128 kB / 0.7635 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1778, allocations: 11.94 kB / 0.7635 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.1778, allocations: 17.72 kB / 0.7636 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.178, allocations: 322.8 kB / 0.7639 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.1781, allocations: 23.97 kB / 0.7639 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.1783, allocations: 55.34 kB / 0.7639 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.1785, allocations: 62.53 kB / 0.764 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1785, allocations: 0 / 0.764 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.1788, allocations: 109.5 kB / 0.7641 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1788, allocations: 4 kB / 0.7641 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1788, allocations: 0 / 0.7641 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1788, allocations: 7.922 kB / 0.7641 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1789, allocations: 15.92 kB / 0.7641 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1789, allocations: 4 kB / 0.7641 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.179, allocations: 16.03 kB / 0.7642 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1791, allocations: 4 kB / 0.7642 GB, free: 11.15 MB / 0.5762 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.0001117/0.1792, allocations: 125.8 kB / 0.7643 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1792, allocations: 15.91 kB / 0.7643 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.1792, allocations: 17.25 kB / 0.7643 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1792, allocations: 3.938 kB / 0.7643 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1792, allocations: 288 / 0.7643 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1793, allocations: 3.984 kB / 0.7643 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.1795, allocations: 217.6 kB / 0.7645 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1795, allocations: 4 kB / 0.7645 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.1795, allocations: 15.97 kB / 0.7645 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1795, allocations: 0 / 0.7645 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1796, allocations: 4 kB / 0.7646 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.1796, allocations: 3.938 kB / 0.7646 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1796, allocations: 0 / 0.7646 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.1799, allocations: 132.8 kB / 0.7647 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.18, allocations: 93 kB / 0.7648 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.18, allocations: 0 / 0.7648 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.1801, allocations: 15.92 kB / 0.7648 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1801, allocations: 4 kB / 0.7648 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1801, allocations: 7.938 kB / 0.7648 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001911/0.1803, allocations: 188.5 kB / 0.765 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1803, allocations: 0 / 0.765 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002257/0.1806, allocations: 31.94 kB / 0.765 GB, free: 10.19 MB / 0.5762 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.0002396/0.1808, allocations: 117.3 kB / 0.7651 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1811, allocations: 63.94 kB / 0.7652 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1811, allocations: 0 / 0.7652 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1812, allocations: 23.97 kB / 0.7652 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1815, allocations: 45.2 kB / 0.7652 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.1821, allocations: 313.4 kB / 0.7655 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1824, allocations: 0.7314 MB / 0.7663 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1825, allocations: 11.44 kB / 0.7663 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.1825, allocations: 0 / 0.7663 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of Templates: time 0.004372/0.1869, allocations: 2.12 MB / 0.7683 GB, free: 6.723 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile [Timeout 660] make -j1 -f IDEAS_dev_IDEAS.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/IDEAS 3.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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp:28: ./OMCppIDEAS_dev_IDEAS.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/IDEAS 3.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: *** [: OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.3214969569817185] Failed to read output from testmodel.py, exit status != 0: 0.19388832291588187 0.20760701099999995 0.030812655 Calling exit ...