Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001056/0.001056, allocations: 102.6 kB / 15.71 MB, free: 460 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.001669/0.00167, allocations: 174.8 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 222.8 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.7 MB / 0.5505 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005593/0.0005593, allocations: 13.69 kB / 0.6743 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2863, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.00203/0.2884, allocations: 1.328 MB / 0.7892 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008994/0.2893, allocations: 0.5546 MB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.2894, allocations: 4 kB / 0.7898 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2895, allocations: 23.84 kB / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.2898, allocations: 55.38 kB / 0.7898 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.2899, allocations: 51.94 kB / 0.7899 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2901, allocations: 119.5 kB / 0.79 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.2903, allocations: 41.45 kB / 0.79 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.2904, allocations: 47.78 kB / 0.7901 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.996e-05/0.2905, allocations: 43.77 kB / 0.7901 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2905, allocations: 4 kB / 0.7901 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.2906, allocations: 15.94 kB / 0.7901 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.2907, allocations: 35.89 kB / 0.7902 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.2907, allocations: 45.64 kB / 0.7902 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2909, allocations: 115.9 kB / 0.7903 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2909, allocations: 0 / 0.7903 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2909, allocations: 0 / 0.7903 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.2909, allocations: 3.938 kB / 0.7903 GB, free: 9.422 MB / 0.6075 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.0006244/0.2916, allocations: 446.6 kB / 0.7908 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2916, allocations: 8.031 kB / 0.7908 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.2917, allocations: 23.8 kB / 0.7908 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2919, allocations: 231.6 kB / 0.791 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.292, allocations: 4 kB / 0.791 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.292, allocations: 4 kB / 0.791 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.2922, allocations: 117.6 kB / 0.7911 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.2923, allocations: 0 / 0.7911 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.2923, allocations: 8 kB / 0.7911 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2923, allocations: 0 / 0.7911 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.2925, allocations: 75.94 kB / 0.7912 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007035/0.2932, allocations: 392.4 kB / 0.7916 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2934, allocations: 50.55 kB / 0.7916 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2935, allocations: 40.83 kB / 0.7917 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2935, allocations: 3.953 kB / 0.7917 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002669/0.2938, allocations: 109.1 kB / 0.7918 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2938, allocations: 0 / 0.7918 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004936/0.2943, allocations: 133.4 kB / 0.7919 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.2944, allocations: 85.05 kB / 0.792 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.2946, allocations: 249 kB / 0.7922 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.2947, allocations: 29.7 kB / 0.7923 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.2947, allocations: 136 kB / 0.7924 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2948, allocations: 7.906 kB / 0.7924 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.2948, allocations: 0 / 0.7924 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2949, allocations: 326.8 kB / 0.7927 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.295, allocations: 31.97 kB / 0.7927 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2951, allocations: 59.41 kB / 0.7928 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.2952, allocations: 36 kB / 0.7928 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2953, allocations: 0 / 0.7928 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002549/0.2955, allocations: 121.4 kB / 0.7929 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2955, allocations: 8 kB / 0.793 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2955, allocations: 0 / 0.793 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2956, allocations: 0 / 0.793 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2957, allocations: 15.98 kB / 0.793 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2957, allocations: 3.938 kB / 0.793 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.2958, allocations: 23.95 kB / 0.793 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.2958, allocations: 4.281 kB / 0.793 GB, free: 6.441 MB / 0.6075 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.0001006/0.2959, allocations: 129.8 kB / 0.7931 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.2959, allocations: 23.75 kB / 0.7931 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.296, allocations: 17.25 kB / 0.7932 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.296, allocations: 3.984 kB / 0.7932 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.296, allocations: 3.938 kB / 0.7932 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.296, allocations: 0 / 0.7932 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.2962, allocations: 213.6 kB / 0.7934 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2962, allocations: 4 kB / 0.7934 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.2963, allocations: 11.98 kB / 0.7934 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2963, allocations: 4 kB / 0.7934 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.2963, allocations: 3.953 kB / 0.7934 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2963, allocations: 0 / 0.7934 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2963, allocations: 0 / 0.7934 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.2966, allocations: 140.8 kB / 0.7935 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.2967, allocations: 96.86 kB / 0.7936 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2967, allocations: 4 kB / 0.7936 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.2968, allocations: 19.94 kB / 0.7936 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.2969, allocations: 7.984 kB / 0.7937 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.2969, allocations: 8 kB / 0.7937 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001627/0.2971, allocations: 184.5 kB / 0.7938 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2971, allocations: 0 / 0.7938 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002214/0.2973, allocations: 28.03 kB / 0.7939 GB, free: 5.465 MB / 0.6075 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.0002717/0.2976, allocations: 126.3 kB / 0.794 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.2979, allocations: 75.94 kB / 0.7941 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2979, allocations: 0 / 0.7941 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.298, allocations: 27.98 kB / 0.7941 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.2983, allocations: 39.67 kB / 0.7941 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.2988, allocations: 355 kB / 0.7945 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.2992, allocations: 0.7199 MB / 0.7952 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.2992, allocations: 15.44 kB / 0.7952 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2992, allocations: 0 / 0.7952 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.004175/0.3034, allocations: 2.106 MB / 0.7972 GB, free: 1.965 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1