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.0008445/0.0008446, allocations: 91.92 kB / 16.02 MB, free: 80 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.001374/0.001375, allocations: 180.4 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 223.1 MB, free: 5.461 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.917/1.917, allocations: 292.7 MB / 0.5509 GB, free: 14.45 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.0006151/0.0006152, allocations: 11.78 kB / 0.675 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3449, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002395/0.3474, allocations: 1.355 MB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009664/0.3484, allocations: 0.5777 MB / 0.7904 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.533e-05/0.3485, allocations: 4 kB / 0.7904 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.3487, allocations: 19.86 kB / 0.7904 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.349, allocations: 59.73 kB / 0.7905 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.3492, allocations: 51.94 kB / 0.7906 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3494, allocations: 127.5 kB / 0.7907 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3496, allocations: 45.47 kB / 0.7907 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3497, allocations: 43.78 kB / 0.7908 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.3498, allocations: 55.62 kB / 0.7908 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3499, allocations: 8 kB / 0.7908 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.3499, allocations: 20 kB / 0.7908 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.115e-05/0.35, allocations: 31.91 kB / 0.7909 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.482e-05/0.3501, allocations: 85.17 kB / 0.7909 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3503, allocations: 96.05 kB / 0.791 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3503, allocations: 0 / 0.791 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3503, allocations: 3.984 kB / 0.791 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3503, allocations: 0 / 0.791 GB, free: 8.98 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.0008734/0.3512, allocations: 450.8 kB / 0.7915 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.3513, allocations: 12.03 kB / 0.7915 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.74e-05/0.3513, allocations: 20.66 kB / 0.7915 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.3517, allocations: 225 kB / 0.7917 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.3517, allocations: 8.375 kB / 0.7917 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3517, allocations: 4.375 kB / 0.7917 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.3521, allocations: 125.9 kB / 0.7919 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3521, allocations: 0 / 0.7919 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3521, allocations: 4 kB / 0.7919 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3521, allocations: 0 / 0.7919 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.3524, allocations: 79.94 kB / 0.7919 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.353, allocations: 396.4 kB / 0.7923 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3532, allocations: 50.55 kB / 0.7924 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.3533, allocations: 32.89 kB / 0.7924 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3534, allocations: 11.98 kB / 0.7924 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.3536, allocations: 105 kB / 0.7925 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3536, allocations: 0 / 0.7925 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004761/0.3541, allocations: 145.4 kB / 0.7926 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.3542, allocations: 81.11 kB / 0.7927 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.3545, allocations: 260.9 kB / 0.793 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3547, allocations: 25.7 kB / 0.793 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.3548, allocations: 128.1 kB / 0.7931 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.3548, allocations: 11.8 kB / 0.7931 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.3548, allocations: 13.72 kB / 0.7931 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.355, allocations: 322.8 kB / 0.7934 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3551, allocations: 35.97 kB / 0.7935 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3553, allocations: 63.28 kB / 0.7935 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.3555, allocations: 86.56 kB / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3555, allocations: 0 / 0.7936 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002894/0.3558, allocations: 113.5 kB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3558, allocations: 12 kB / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.3559, allocations: 0 / 0.7937 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3559, allocations: 3.938 kB / 0.7937 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.356, allocations: 19.92 kB / 0.7938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.356, allocations: 0 / 0.7938 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/0.3561, allocations: 15.98 kB / 0.7938 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3561, allocations: 4 kB / 0.7938 GB, free: 5.906 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3563, allocations: 133.8 kB / 0.7939 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.3563, allocations: 15.81 kB / 0.7939 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.3563, allocations: 17.23 kB / 0.7939 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3564, allocations: 7.938 kB / 0.794 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3564, allocations: 0 / 0.794 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3564, allocations: 0 / 0.794 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3566, allocations: 217.5 kB / 0.7942 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3566, allocations: 0 / 0.7942 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.3567, allocations: 19.98 kB / 0.7942 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3567, allocations: 0 / 0.7942 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3568, allocations: 4 kB / 0.7942 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3568, allocations: 11.92 kB / 0.7942 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3568, allocations: 0 / 0.7942 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.3571, allocations: 140.7 kB / 0.7943 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.3572, allocations: 96.91 kB / 0.7944 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3572, allocations: 0 / 0.7944 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3574, allocations: 19.92 kB / 0.7944 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.3574, allocations: 4 kB / 0.7944 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.3575, allocations: 7.984 kB / 0.7944 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001704/0.3576, allocations: 188.5 kB / 0.7946 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3576, allocations: 0 / 0.7946 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00022/0.3579, allocations: 23.98 kB / 0.7947 GB, free: 4.926 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 (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.0002984/0.3582, allocations: 121.4 kB / 0.7948 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3585, allocations: 76 kB / 0.7948 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3585, allocations: 0 / 0.7948 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3586, allocations: 35.97 kB / 0.7949 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3589, allocations: 39.69 kB / 0.7949 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.3595, allocations: 359.9 kB / 0.7953 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.3602, allocations: 0.7274 MB / 0.796 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.3603, allocations: 15.42 kB / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.3603, allocations: 0 / 0.796 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.004533/0.3648, allocations: 2.102 MB / 0.798 GB, free: 1.414 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++ -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/Buildings 8.1.4-maint.8.1.x/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/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