Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") translateModel(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7998/0.7998, allocations: 128.8 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 196.5 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 90.78 kB / 486.6 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 8.031 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.3349, allocations: 104.7 MB / 0.7375 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.3352, allocations: 83.95 kB / 0.7376 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007374/0.3426, allocations: 2.575 MB / 0.7401 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3426, allocations: 0 / 0.7401 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.3426, allocations: 4 kB / 0.7401 GB, free: 3.078 MB / 0.5105 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.0006013/0.3432, allocations: 0.525 MB / 0.7406 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3433, allocations: 8.031 kB / 0.7406 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.3434, allocations: 15.86 kB / 0.7407 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3437, allocations: 216.2 kB / 0.7409 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3437, allocations: 8 kB / 0.7409 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3437, allocations: 12 kB / 0.7409 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.344, allocations: 105.6 kB / 0.741 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.344, allocations: 3.938 kB / 0.741 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.344, allocations: 4 kB / 0.741 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.344, allocations: 0 / 0.741 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3442, allocations: 71.91 kB / 0.7411 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.3449, allocations: 392.7 kB / 0.7414 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3451, allocations: 86.53 kB / 0.7415 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3451, allocations: 8.078 kB / 0.7415 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002335/0.3454, allocations: 166.7 kB / 0.7417 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.3454, allocations: 0 / 0.7417 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0007349/0.3461, allocations: 487 kB / 0.7422 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.395e-05/0.3462, allocations: 162.2 kB / 0.7423 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3464, allocations: 154 kB / 0.7425 GB, free: 400 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3464, allocations: 29.7 kB / 0.7425 GB, free: 364 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.3465, allocations: 112.3 kB / 0.7426 GB, free: 248 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3465, allocations: 31.64 kB / 0.7426 GB, free: 216 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.3465, allocations: 0 / 0.7426 GB, free: 216 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3742/0.7208, allocations: 327.9 kB / 0.7429 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.7211, allocations: 49.84 kB / 0.743 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.7213, allocations: 100.3 kB / 0.7431 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/0.7216, allocations: 171.5 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7216, allocations: 3.344 kB / 0.7432 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005698/0.7222, allocations: 325.3 kB / 0.7436 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/0.7223, allocations: 117.5 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7223, allocations: 1 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.7223, allocations: 5.172 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.7224, allocations: 18.64 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.7225, allocations: 7.328 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.7226, allocations: 18.03 kB / 0.7437 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.7226, allocations: 11.75 kB / 0.7437 GB, free: 108.4 MB / 0.5105 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.0001803/0.7228, allocations: 191.1 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.7228, allocations: 16.75 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.7229, allocations: 14.75 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.7229, allocations: 1.688 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7229, allocations: 0 / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7229, allocations: 1.219 kB / 0.7439 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007596/0.7237, allocations: 0.5609 MB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7237, allocations: 0.875 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-05/0.7238, allocations: 13.47 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7238, allocations: 4.016 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.7238, allocations: 8.156 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7238, allocations: 1.188 kB / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.7239, allocations: 0 / 0.7445 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.7244, allocations: 381.3 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.7244, allocations: 93.06 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.7245, allocations: 8.328 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7246, allocations: 8.641 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.7247, allocations: 8.875 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.7247, allocations: 7.203 kB / 0.745 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.492e-05/0.7248, allocations: 129.2 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7248, allocations: 0 / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002758/0.7251, allocations: 36.06 kB / 0.7452 GB, free: 107.5 MB / 0.5105 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.000287/0.7254, allocations: 127.2 kB / 0.7453 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.7258, allocations: 356 kB / 0.7456 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7258, allocations: 0 / 0.7456 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.726, allocations: 197.6 kB / 0.7458 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.7262, allocations: 7 kB / 0.7458 GB, free: 107 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.7268, allocations: 299.7 kB / 0.7461 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.727, allocations: 0.7105 MB / 0.7468 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.917e-05/0.7271, allocations: 21.52 kB / 0.7468 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.7271, allocations: 14.17 kB / 0.7468 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.7271, allocations: 0 / 0.7468 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.004654/0.7318, allocations: 1.526 MB / 0.7483 GB, free: 106 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=2 -c -o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_includes.h:4:10: fatal error: 'fileWriterStructure.h' file not found #include "fileWriterStructure.h" ^~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter_functions.o] Error 1