Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter") translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos.y|step.y",fileNamePrefix="Buildings_9_Buildings.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.001065/0.001065, allocations: 102 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.00159/0.00159, allocations: 175.3 kB / 16.58 MB, free: 6.102 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.478/1.478, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.534/2.534, allocations: 390.4 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9368/0.9372, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.001716/0.939, allocations: 1.299 MB / 0.9557 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008284/0.9398, allocations: 0.5782 MB / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.9399, allocations: 5.031 kB / 0.9562 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.9401, allocations: 24.23 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.9403, allocations: 33.89 kB / 0.9563 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.9406, allocations: 98.8 kB / 0.9564 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.9408, allocations: 142.4 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.9409, allocations: 23.75 kB / 0.9566 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.9411, allocations: 75.12 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.9412, allocations: 80.12 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.9412, allocations: 5.938 kB / 0.9567 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.588e-05/0.9413, allocations: 17.69 kB / 0.9567 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.9414, allocations: 26.19 kB / 0.9568 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.9415, allocations: 53.3 kB / 0.9568 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.9416, allocations: 110.3 kB / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9416, allocations: 0 / 0.9569 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9417, allocations: 4 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.9417, allocations: 1.188 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB 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.0005918/0.9423, allocations: 0.5231 MB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.9423, allocations: 9.656 kB / 0.9574 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.9424, allocations: 18.52 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.9427, allocations: 234.6 kB / 0.9577 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.9427, allocations: 10.16 kB / 0.9577 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.9427, allocations: 14.91 kB / 0.9577 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.943, allocations: 115.7 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.9431, allocations: 0 / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.9431, allocations: 2.75 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.9431, allocations: 1.094 kB / 0.9578 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.9433, allocations: 85.86 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.944, allocations: 418.2 kB / 0.9583 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.9442, allocations: 91.81 kB / 0.9584 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.9443, allocations: 83.62 kB / 0.9585 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.9444, allocations: 5.266 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.9447, allocations: 184.8 kB / 0.9586 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.714e-06/0.9447, allocations: 3.938 kB / 0.9586 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007163/0.9454, allocations: 361.2 kB / 0.959 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.9455, allocations: 168.2 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.9456, allocations: 180.2 kB / 0.9593 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.9457, allocations: 29.7 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.9457, allocations: 119.7 kB / 0.9595 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.9458, allocations: 19.5 kB / 0.9595 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.9458, allocations: 8 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.612e-05/0.9459, allocations: 324.9 kB / 0.9598 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.946, allocations: 56.56 kB / 0.9599 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.9462, allocations: 108.3 kB / 0.96 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.9463, allocations: 184.1 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9464, allocations: 0 / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004744/0.9468, allocations: 352.8 kB / 0.9605 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.9469, allocations: 120.4 kB / 0.9606 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9469, allocations: 5.328 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.9469, allocations: 2.75 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.9471, allocations: 19.36 kB / 0.9606 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9471, allocations: 6.75 kB / 0.9606 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.725e-05/0.9472, allocations: 29.48 kB / 0.9606 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.9472, allocations: 8.25 kB / 0.9607 GB, free: 2.938 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.9474, allocations: 192.4 kB / 0.9608 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.9474, allocations: 17.44 kB / 0.9609 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.9474, allocations: 21.52 kB / 0.9609 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9474, allocations: 3.953 kB / 0.9609 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9475, allocations: 5.375 kB / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9475, allocations: 0 / 0.9609 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.9481, allocations: 0.5883 MB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.9481, allocations: 1 kB / 0.9615 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.373e-05/0.9482, allocations: 14.25 kB / 0.9615 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9482, allocations: 4.984 kB / 0.9615 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.9482, allocations: 9.234 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.9483, allocations: 3.938 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9483, allocations: 1.312 kB / 0.9615 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.9488, allocations: 413.7 kB / 0.9619 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.9488, allocations: 92.94 kB / 0.962 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.9489, allocations: 12.27 kB / 0.962 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.949, allocations: 7.188 kB / 0.962 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.949, allocations: 8.109 kB / 0.962 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.9491, allocations: 9.188 kB / 0.962 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.9492, allocations: 126.2 kB / 0.9621 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9492, allocations: 0 / 0.9621 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002987/0.9495, allocations: 38.53 kB / 0.9622 GB, free: 1.676 MB / 0.7169 GB 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 (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.0002474/0.9497, allocations: 134.4 kB / 0.9623 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004671/0.9502, allocations: 372.9 kB / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9502, allocations: 0 / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.9504, allocations: 213.1 kB / 0.9629 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.9507, allocations: 22.25 kB / 0.9629 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.9513, allocations: 338.8 kB / 0.9632 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.9515, allocations: 0.715 MB / 0.9639 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.9515, allocations: 13.22 kB / 0.9639 GB, free: 80 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9515, allocations: 1 kB / 0.9639 GB, free: 80 kB / 0.7169 GB Notification: Performance of Templates: time 0.004388/0.9559, allocations: 2.15 MB / 0.966 GB, free: 14.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriter.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 9.1.2-maint.9.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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.IO.Files.Examples.CSVWriterCalcHelperMain.o] Error 1