Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriter") translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.startTime|const.y|cosine.y",fileNamePrefix="Buildings_latest_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.001302/0.001302, allocations: 100.5 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.002052/0.002052, 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.518/1.518, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003744, allocations: 12 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7647/0.7651, allocations: 153.6 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002528/0.7677, allocations: 1.344 MB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.7687, allocations: 0.507 MB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.7689, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.7691, allocations: 27.84 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.7693, allocations: 55.69 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.7695, allocations: 55.94 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.7697, allocations: 123.5 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.7698, allocations: 37.47 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.77, allocations: 47.78 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.7701, allocations: 43.77 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.7701, allocations: 8 kB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.7702, allocations: 19.92 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.7703, allocations: 35.89 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.7703, allocations: 41.58 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.7705, allocations: 105.7 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7705, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7705, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.7705, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 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.0006305/0.7712, allocations: 458.6 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.7712, allocations: 11.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.7713, allocations: 15.81 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.7715, allocations: 231.6 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.7715, allocations: 4 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.7716, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.7719, allocations: 120.5 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7719, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.7719, allocations: 7.984 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.7719, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.7722, allocations: 75.94 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.7728, allocations: 392.5 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7729, allocations: 50.48 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.773, allocations: 36.91 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.7731, allocations: 4 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.7733, allocations: 101.1 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7734, allocations: 0 / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004487/0.7738, allocations: 145.4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.7739, allocations: 85 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.7742, allocations: 253 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.7742, allocations: 33.69 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.905e-05/0.7743, allocations: 124 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.7743, allocations: 7.906 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.7743, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7744, allocations: 334.8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.7746, allocations: 31.98 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.7747, allocations: 51.41 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.7748, allocations: 40 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7748, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002589/0.7751, allocations: 117.3 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7751, allocations: 8 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7751, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.7751, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.7752, allocations: 28.02 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.7753, allocations: 0 / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.923e-05/0.7754, allocations: 31.72 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.7754, allocations: 4.281 kB / 1.027 GB, free: 11.63 MB / 0.7794 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.0001088/0.7755, allocations: 121.8 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.7755, allocations: 23.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.7756, allocations: 25.23 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.7756, allocations: 0 / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.7756, allocations: 4 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.7756, allocations: 0 / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.7758, allocations: 217.5 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7758, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.7759, allocations: 11.98 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7759, allocations: 0 / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.7759, allocations: 7.984 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7759, allocations: 4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7759, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.7762, allocations: 140.8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.7763, allocations: 96.91 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7763, allocations: 0 / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.7764, allocations: 15.98 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.7764, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.7765, allocations: 7.984 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001673/0.7767, allocations: 184.5 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7767, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002219/0.7769, allocations: 23.91 kB / 1.028 GB, free: 10.66 MB / 0.7794 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.0002475/0.7771, allocations: 117.8 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.7774, allocations: 71.88 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7774, allocations: 7.938 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.7776, allocations: 36.16 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.7779, allocations: 46.5 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.7784, allocations: 347.8 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.7787, allocations: 0.716 MB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.7788, allocations: 19.42 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7788, allocations: 4 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.00417/0.783, allocations: 2.079 MB / 1.031 GB, free: 7.18 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriter.makefile make -j1 -f Buildings_latest_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 11.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/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriterCalcHelperMain.o] Error 1