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) 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-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008555/0.0008555, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008195/0.0008196, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.461/1.461, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.983/0.983, allocations: 135.3 MB / 427 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005085, allocations: 8 kB / 0.5076 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 82.3 MB / 0.588 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.001909/0.2222, allocations: 1.316 MB / 0.5893 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.223, allocations: 0.507 MB / 0.5898 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.2231, allocations: 7.938 kB / 0.5898 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.2233, allocations: 19.84 kB / 0.5898 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.2236, allocations: 59.75 kB / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.2237, allocations: 51.88 kB / 0.5899 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001705/0.2239, allocations: 123.5 kB / 0.59 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.224, allocations: 41.45 kB / 0.5901 GB, free: 1.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.2242, allocations: 43.78 kB / 0.5901 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.2243, allocations: 47.77 kB / 0.5901 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2243, allocations: 4 kB / 0.5901 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.212e-05/0.2244, allocations: 16 kB / 0.5902 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.786e-05/0.2244, allocations: 35.83 kB / 0.5902 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.2245, allocations: 53.58 kB / 0.5902 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.2247, allocations: 108 kB / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.2247, allocations: 0 / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2247, allocations: 0 / 0.5903 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.2247, allocations: 0 / 0.5903 GB, free: 0.6953 MB / 494.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.0005911/0.2253, allocations: 450.5 kB / 0.5908 GB, free: 212 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2253, allocations: 12.03 kB / 0.5908 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.2254, allocations: 15.81 kB / 0.5908 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2257, allocations: 227.7 kB / 0.591 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2257, allocations: 4 kB / 0.591 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2257, allocations: 8 kB / 0.591 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.226, allocations: 113.6 kB / 0.5911 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.226, allocations: 4 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.226, allocations: 4 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.226, allocations: 0 / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.2263, allocations: 75.94 kB / 0.5912 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.2269, allocations: 396.4 kB / 0.5916 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.2271, allocations: 50.55 kB / 0.5916 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2272, allocations: 36.89 kB / 0.5917 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2273, allocations: 0 / 0.5917 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.2275, allocations: 113 kB / 0.5918 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.2275, allocations: 0 / 0.5918 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004501/0.228, allocations: 141.4 kB / 0.5919 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.2281, allocations: 77.11 kB / 0.592 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.2284, allocations: 249 kB / 0.5922 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.2284, allocations: 33.7 kB / 0.5923 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.2285, allocations: 135.9 kB / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2285, allocations: 7.906 kB / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2286, allocations: 0 / 0.5924 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2287, allocations: 326.8 kB / 0.5927 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.2288, allocations: 27.97 kB / 0.5927 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2289, allocations: 63.53 kB / 0.5928 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2291, allocations: 36 kB / 0.5928 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2291, allocations: 0 / 0.5928 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002542/0.2293, allocations: 117.4 kB / 0.593 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2293, allocations: 11.94 kB / 0.593 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2294, allocations: 4 kB / 0.593 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2294, allocations: 96 / 0.593 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2295, allocations: 15.98 kB / 0.593 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.2295, allocations: 0 / 0.593 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.2296, allocations: 31.94 kB / 0.593 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2296, allocations: 0 / 0.593 GB, free: 13.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2297, allocations: 133.8 kB / 0.5931 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.2298, allocations: 15.81 kB / 0.5932 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.2298, allocations: 17.2 kB / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2298, allocations: 0 / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2298, allocations: 3.938 kB / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2298, allocations: 7.984 kB / 0.5932 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.23, allocations: 217.6 kB / 0.5934 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.23, allocations: 0 / 0.5934 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/0.2301, allocations: 15.98 kB / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2301, allocations: 0 / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2301, allocations: 0 / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2301, allocations: 3.953 kB / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2302, allocations: 0 / 0.5934 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2304, allocations: 136.9 kB / 0.5935 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.2305, allocations: 96.91 kB / 0.5936 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2305, allocations: 0 / 0.5936 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.64e-05/0.2306, allocations: 15.98 kB / 0.5936 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.2307, allocations: 11.94 kB / 0.5937 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2307, allocations: 4 kB / 0.5937 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001749/0.2309, allocations: 192.5 kB / 0.5938 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2309, allocations: 7.875 kB / 0.5939 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002128/0.2311, allocations: 23.84 kB / 0.5939 GB, free: 12.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.2313, allocations: 123.2 kB / 0.594 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.2316, allocations: 68.02 kB / 0.5941 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2316, allocations: 3.938 kB / 0.5941 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.2317, allocations: 39.91 kB / 0.5941 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.232, allocations: 32.41 kB / 0.5941 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.2326, allocations: 351.9 kB / 0.5945 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2329, allocations: 0.7201 MB / 0.5952 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.233, allocations: 15.44 kB / 0.5952 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.233, allocations: 0 / 0.5952 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.004026/0.237, allocations: 2.097 MB / 0.5972 GB, free: 9.258 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1