Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006325/0.006325, allocations: 100.4 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 189 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.67 kB / 0.5017 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4028, allocations: 80.21 MB / 0.58 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.003194/0.4061, allocations: 1.69 MB / 0.5817 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000825/0.4069, allocations: 0.5482 MB / 0.5822 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.407, allocations: 5.719 kB / 0.5822 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.4072, allocations: 25.55 kB / 0.5822 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.4074, allocations: 50.61 kB / 0.5823 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.4076, allocations: 56.69 kB / 0.5823 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.4078, allocations: 126.2 kB / 0.5825 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.408, allocations: 54.38 kB / 0.5825 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.4081, allocations: 44.72 kB / 0.5826 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.4082, allocations: 63.61 kB / 0.5826 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.4082, allocations: 4.438 kB / 0.5826 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.4083, allocations: 22.56 kB / 0.5827 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.4084, allocations: 45.2 kB / 0.5827 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.4085, allocations: 56.53 kB / 0.5827 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4086, allocations: 104.2 kB / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.4087, allocations: 0.75 kB / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.4087, allocations: 0 / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4087, allocations: 0.9062 kB / 0.5828 GB, free: 2.664 MB / 430.1 MB 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.0005686/0.4093, allocations: 465.4 kB / 0.5833 GB, free: 2.234 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4093, allocations: 10.09 kB / 0.5833 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.4094, allocations: 21.59 kB / 0.5833 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4096, allocations: 234.5 kB / 0.5835 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4096, allocations: 10.59 kB / 0.5836 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.4096, allocations: 3.906 kB / 0.5836 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.4099, allocations: 112.3 kB / 0.5837 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.41, allocations: 1.875 kB / 0.5837 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.41, allocations: 4 kB / 0.5837 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.41, allocations: 2.656 kB / 0.5837 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/0.4102, allocations: 67.41 kB / 0.5837 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.4108, allocations: 376.8 kB / 0.5841 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.411, allocations: 44.08 kB / 0.5841 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.4111, allocations: 32.45 kB / 0.5842 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.4111, allocations: 5.609 kB / 0.5842 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.4114, allocations: 96.14 kB / 0.5843 GB, free: 1.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4114, allocations: 0 / 0.5843 GB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004306/0.4118, allocations: 131.2 kB / 0.5844 GB, free: 1.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.4118, allocations: 79.28 kB / 0.5845 GB, free: 1.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.4121, allocations: 254.3 kB / 0.5847 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4121, allocations: 33.64 kB / 0.5847 GB, free: 1.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4122, allocations: 123.4 kB / 0.5849 GB, free: 1.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4122, allocations: 6.125 kB / 0.5849 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.4123, allocations: 17.98 kB / 0.5849 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.4124, allocations: 329.2 kB / 0.5852 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4125, allocations: 24.69 kB / 0.5852 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4126, allocations: 47.2 kB / 0.5853 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.4128, allocations: 73.16 kB / 0.5853 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4128, allocations: 0 / 0.5853 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002671/0.4131, allocations: 109.6 kB / 0.5854 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4131, allocations: 10.25 kB / 0.5855 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4131, allocations: 0 / 0.5855 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4132, allocations: 5.281 kB / 0.5855 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4133, allocations: 12.34 kB / 0.5855 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4133, allocations: 1.281 kB / 0.5855 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.4134, allocations: 15.33 kB / 0.5855 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4134, allocations: 1.75 kB / 0.5855 GB, free: 0.5273 MB / 430.1 MB 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.801e-05/0.4135, allocations: 139.5 kB / 0.5856 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.4135, allocations: 20.56 kB / 0.5856 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.4136, allocations: 18.53 kB / 0.5857 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4136, allocations: 3.938 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4136, allocations: 1.953 kB / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4136, allocations: 0 / 0.5857 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.4138, allocations: 213.1 kB / 0.5859 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4138, allocations: 0 / 0.5859 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.059e-05/0.4139, allocations: 11.92 kB / 0.5859 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4139, allocations: 0 / 0.5859 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4139, allocations: 1.438 kB / 0.5859 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4139, allocations: 9.094 kB / 0.5859 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4139, allocations: 3.938 kB / 0.5859 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.4142, allocations: 125.1 kB / 0.586 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.4143, allocations: 85.81 kB / 0.5861 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.4143, allocations: 1.5 kB / 0.5861 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.4144, allocations: 17.69 kB / 0.5861 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4144, allocations: 8.625 kB / 0.5861 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.4145, allocations: 9.266 kB / 0.5861 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001948/0.4147, allocations: 187.1 kB / 0.5863 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4147, allocations: 0 / 0.5863 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.4149, allocations: 21.83 kB / 0.5863 GB, free: 15.84 MB / 446.1 MB 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.0002209/0.4151, allocations: 127 kB / 0.5864 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.4154, allocations: 50.81 kB / 0.5865 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4154, allocations: 0 / 0.5865 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4156, allocations: 32.3 kB / 0.5865 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.4159, allocations: 44.59 kB / 0.5866 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.4166, allocations: 352 kB / 0.5869 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4169, allocations: 0.7191 MB / 0.5876 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.4169, allocations: 19.56 kB / 0.5876 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.417, allocations: 0 / 0.5876 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Templates: time 0.004734/0.4217, allocations: 2.099 MB / 0.5897 GB, free: 14.51 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile clang++ -std=c++14 NOTFOUND -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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1