Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 100.1 kB / 15.88 MB, free: 12 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.001287/0.001286, allocations: 198.9 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.12/2.12, allocations: 222.9 MB / 240.4 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 274.6 kB / 290.9 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.985/1.985, allocations: 169.2 MB / 0.4984 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003915/0.003915, allocations: 88.05 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3932, allocations: 86.99 MB / 0.6801 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter): time 0.007054/0.4004, allocations: 1.662 MB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.403, allocations: 0.6188 MB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.4034, allocations: 8.812 kB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.4037, allocations: 19.91 kB / 0.6823 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.404, allocations: 48.23 kB / 0.6824 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.4047, allocations: 97.03 kB / 0.6825 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.405, allocations: 163.6 kB / 0.6826 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.4052, allocations: 38.25 kB / 0.6827 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.4054, allocations: 75.75 kB / 0.6827 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.4056, allocations: 75.72 kB / 0.6828 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.852e-05/0.4057, allocations: 8 kB / 0.6828 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.4058, allocations: 23.98 kB / 0.6828 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.4059, allocations: 27.91 kB / 0.6829 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.4061, allocations: 67.66 kB / 0.6829 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.4064, allocations: 115.7 kB / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.25e-05/0.4064, allocations: 8 kB / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4065, allocations: 0 / 0.683 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.4065, allocations: 0 / 0.683 GB, free: 14.16 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001317/0.4078, allocations: 0.5524 MB / 0.6836 GB, free: 13.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.926e-05/0.4079, allocations: 12.03 kB / 0.6836 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.408, allocations: 20.75 kB / 0.6836 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.4085, allocations: 224.7 kB / 0.6838 GB, free: 13.24 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.4085, allocations: 12.38 kB / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.4086, allocations: 8.375 kB / 0.6839 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.409, allocations: 121.7 kB / 0.684 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.4091, allocations: 0 / 0.684 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.4091, allocations: 4 kB / 0.684 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.4091, allocations: 0 / 0.684 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.4095, allocations: 75.88 kB / 0.684 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4106, allocations: 420.5 kB / 0.6844 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.411, allocations: 90.56 kB / 0.6845 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.4112, allocations: 76.81 kB / 0.6846 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.4113, allocations: 0 / 0.6846 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.4117, allocations: 186.9 kB / 0.6848 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/0.4117, allocations: 0 / 0.6848 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001204/0.413, allocations: 352.6 kB / 0.6851 GB, free: 11.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.4131, allocations: 170.2 kB / 0.6853 GB, free: 11.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.4134, allocations: 166.7 kB / 0.6854 GB, free: 11.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4135, allocations: 33.7 kB / 0.6855 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4136, allocations: 120.2 kB / 0.6856 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.4137, allocations: 23.66 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.4138, allocations: 45.69 kB / 0.6857 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.4141, allocations: 322.8 kB / 0.686 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.4143, allocations: 55.95 kB / 0.686 GB, free: 10.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4146, allocations: 107.4 kB / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/0.4151, allocations: 309 kB / 0.6864 GB, free: 10.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4152, allocations: 4 kB / 0.6864 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000842/0.416, allocations: 348.2 kB / 0.6867 GB, free: 9.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.4162, allocations: 118.8 kB / 0.6869 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4162, allocations: 4 kB / 0.6869 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4162, allocations: 0 / 0.6869 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.4164, allocations: 23.92 kB / 0.6869 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.4164, allocations: 0 / 0.6869 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4166, allocations: 8 kB / 0.6869 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/0.4166, allocations: 12 kB / 0.6869 GB, free: 9.766 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0002973/0.4169, allocations: 206.5 kB / 0.6871 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.417, allocations: 23.8 kB / 0.6871 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.4171, allocations: 9.406 kB / 0.6871 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4171, allocations: 4 kB / 0.6871 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4171, allocations: 0 / 0.6871 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4171, allocations: 3.938 kB / 0.6871 GB, free: 9.504 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.4184, allocations: 0.5798 MB / 0.6877 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4184, allocations: 4 kB / 0.6877 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.333e-05/0.4185, allocations: 15.92 kB / 0.6877 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4186, allocations: 288 / 0.6877 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.4186, allocations: 8 kB / 0.6877 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4186, allocations: 0 / 0.6877 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4186, allocations: 7.875 kB / 0.6877 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.4197, allocations: 406.6 kB / 0.6881 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.42, allocations: 96.91 kB / 0.6882 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.42, allocations: 4 kB / 0.6882 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.4202, allocations: 7.938 kB / 0.6882 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4203, allocations: 15.92 kB / 0.6883 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4204, allocations: 4 kB / 0.6883 GB, free: 8.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.4206, allocations: 141.3 kB / 0.6884 GB, free: 8.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4206, allocations: 0 / 0.6884 GB, free: 8.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.4213, allocations: 32 kB / 0.6884 GB, free: 8.082 MB / 494.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: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.000532/0.4218, allocations: 130.6 kB / 0.6885 GB, free: 7.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.423, allocations: 369.8 kB / 0.6889 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.423, allocations: 0 / 0.6889 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.4237, allocations: 206.8 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.4243, allocations: 17.72 kB / 0.6891 GB, free: 7.301 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4256, allocations: 343.5 kB / 0.6894 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/0.427, allocations: 0.716 MB / 0.6901 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.4274, allocations: 15.44 kB / 0.6902 GB, free: 6.172 MB / 494.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4274, allocations: 0 / 0.6902 GB, free: 6.172 MB / 494.1 MB Notification: Performance of Templates: time 0.01013/0.4376, allocations: 2.158 MB / 0.6923 GB, free: 4.031 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter.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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1