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.0007909/0.000791, allocations: 99.42 kB / 16.02 MB, free: 76 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.0008644/0.0008642, allocations: 186.1 kB / 16.92 MB, free: 6.75 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.3/1.3, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.695/0.695, allocations: 132.3 MB / 424.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 8 kB / 0.5046 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4262, allocations: 81.57 MB / 0.5843 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.JSONWriter): time 0.001801/0.4281, allocations: 1.346 MB / 0.5856 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008039/0.4289, allocations: 0.5379 MB / 0.5861 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.429, allocations: 6.188 kB / 0.5861 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.4292, allocations: 24.09 kB / 0.5862 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.4294, allocations: 50.97 kB / 0.5862 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.4295, allocations: 58.41 kB / 0.5863 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.4297, allocations: 119.6 kB / 0.5864 GB, free: 2.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.4299, allocations: 48.42 kB / 0.5864 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.43, allocations: 52.7 kB / 0.5865 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4301, allocations: 47.19 kB / 0.5865 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.4302, allocations: 3.094 kB / 0.5865 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.956e-05/0.4302, allocations: 19.69 kB / 0.5865 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.152e-05/0.4303, allocations: 39.5 kB / 0.5866 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.4304, allocations: 84.17 kB / 0.5867 GB, free: 2.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.4306, allocations: 93.58 kB / 0.5867 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4306, allocations: 0 / 0.5867 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4306, allocations: 0 / 0.5867 GB, free: 2.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4306, allocations: 0 / 0.5867 GB, free: 2.379 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.0005288/0.4311, allocations: 455.6 kB / 0.5872 GB, free: 1.957 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4312, allocations: 14.19 kB / 0.5872 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.4312, allocations: 17.69 kB / 0.5872 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.4315, allocations: 237.2 kB / 0.5874 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.4315, allocations: 8.094 kB / 0.5874 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.4315, allocations: 3.562 kB / 0.5874 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.4318, allocations: 126.1 kB / 0.5876 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.4318, allocations: 0 / 0.5876 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4318, allocations: 1.422 kB / 0.5876 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4318, allocations: 2.062 kB / 0.5876 GB, free: 1.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.4321, allocations: 80.77 kB / 0.5876 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.4327, allocations: 388.6 kB / 0.588 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.4328, allocations: 53.36 kB / 0.5881 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4329, allocations: 32.03 kB / 0.5881 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.433, allocations: 1.641 kB / 0.5881 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.4332, allocations: 112.4 kB / 0.5882 GB, free: 1.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4332, allocations: 0 / 0.5882 GB, free: 1.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004556/0.4337, allocations: 146.1 kB / 0.5883 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.4337, allocations: 78.36 kB / 0.5884 GB, free: 1.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.434, allocations: 259.2 kB / 0.5887 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.434, allocations: 26.33 kB / 0.5887 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.4341, allocations: 126.9 kB / 0.5888 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.4341, allocations: 6.625 kB / 0.5888 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.4341, allocations: 19.03 kB / 0.5888 GB, free: 0.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.4342, allocations: 328.5 kB / 0.5892 GB, free: 396 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4343, allocations: 34.33 kB / 0.5892 GB, free: 388 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.4345, allocations: 59.09 kB / 0.5892 GB, free: 348 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.4347, allocations: 86.31 kB / 0.5893 GB, free: 308 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4347, allocations: 0 / 0.5893 GB, free: 308 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002996/0.435, allocations: 119 kB / 0.5894 GB, free: 252 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.435, allocations: 6.25 kB / 0.5894 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4351, allocations: 0.8906 kB / 0.5894 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4351, allocations: 9.094 kB / 0.5895 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4352, allocations: 15 kB / 0.5895 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.4352, allocations: 1.844 kB / 0.5895 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.102e-05/0.4353, allocations: 18.3 kB / 0.5895 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4353, allocations: 1.438 kB / 0.5895 GB, free: 240 kB / 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.126e-05/0.4354, allocations: 136.3 kB / 0.5896 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.4354, allocations: 20.59 kB / 0.5896 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.4355, allocations: 18.64 kB / 0.5897 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4355, allocations: 4.594 kB / 0.5897 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4355, allocations: 3.938 kB / 0.5897 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4355, allocations: 0.7188 kB / 0.5897 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.4357, allocations: 216.3 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4357, allocations: 5.469 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.4358, allocations: 15.31 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4358, allocations: 4 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4358, allocations: 0.9844 kB / 0.5899 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4358, allocations: 4.688 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4358, allocations: 1.344 kB / 0.5899 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.4362, allocations: 138 kB / 0.59 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.4362, allocations: 93.28 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.4363, allocations: 4.75 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.93e-05/0.4364, allocations: 18.11 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.4364, allocations: 3.578 kB / 0.5901 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.4364, allocations: 9.875 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.4366, allocations: 190.6 kB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4366, allocations: 3.938 kB / 0.5903 GB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002155/0.4369, allocations: 19.11 kB / 0.5904 GB, free: 15.54 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.0002372/0.4371, allocations: 119.7 kB / 0.5905 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4374, allocations: 67.58 kB / 0.5905 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4374, allocations: 4.828 kB / 0.5905 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.4376, allocations: 42.58 kB / 0.5906 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4379, allocations: 39.69 kB / 0.5906 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005814/0.4385, allocations: 368.8 kB / 0.591 GB, free: 15.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.4387, allocations: 0.7232 MB / 0.5917 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.4388, allocations: 15.81 kB / 0.5917 GB, free: 14.42 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4388, allocations: 0 / 0.5917 GB, free: 14.42 MB / 446.1 MB Notification: Performance of Templates: time 0.004484/0.4433, allocations: 2.076 MB / 0.5937 GB, free: 14.22 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