Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVWriter.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4592/0.4592, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008365/0.0008365, allocations: 98.88 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.254e-05, allocations: 0 / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3384, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4591, allocations: 103.6 MB / 0.6615 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.4596, allocations: 79.95 kB / 0.6615 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.4736, allocations: 5.061 MB / 0.6665 GB, free: 11.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4736, allocations: 0 / 0.6665 GB, free: 11.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4736, allocations: 4 kB / 0.6665 GB, free: 11.59 MB / 490.7 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.0005185/0.4742, allocations: 0.5204 MB / 0.667 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4742, allocations: 15.97 kB / 0.667 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.4743, allocations: 38.56 kB / 0.667 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.4743, allocations: 27.77 kB / 0.6671 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.4746, allocations: 226.8 kB / 0.6673 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4746, allocations: 8 kB / 0.6673 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.4747, allocations: 12 kB / 0.6673 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.4749, allocations: 109.4 kB / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4749, allocations: 0 / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.4749, allocations: 4 kB / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.475, allocations: 3.953 kB / 0.6674 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4751, allocations: 51.98 kB / 0.6675 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.4757, allocations: 424.5 kB / 0.6679 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.4759, allocations: 74.56 kB / 0.6679 GB, free: 9.918 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.476, allocations: 68.84 kB / 0.668 GB, free: 9.848 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.476, allocations: 4.141 kB / 0.668 GB, free: 9.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.4762, allocations: 182.7 kB / 0.6682 GB, free: 9.641 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.4763, allocations: 0 / 0.6682 GB, free: 9.641 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004924/0.4768, allocations: 268.8 kB / 0.6684 GB, free: 9.359 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.4768, allocations: 170.1 kB / 0.6686 GB, free: 9.156 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.477, allocations: 153.8 kB / 0.6687 GB, free: 8.996 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.477, allocations: 37.7 kB / 0.6688 GB, free: 8.953 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.4771, allocations: 112.3 kB / 0.6689 GB, free: 8.836 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.4771, allocations: 27.61 kB / 0.6689 GB, free: 8.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.4771, allocations: 4 kB / 0.6689 GB, free: 8.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4773, allocations: 330.8 kB / 0.6692 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.4774, allocations: 36 kB / 0.6693 GB, free: 8.438 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4775, allocations: 98.84 kB / 0.6694 GB, free: 8.316 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4777, allocations: 154.8 kB / 0.6695 GB, free: 8.141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4777, allocations: 3.938 kB / 0.6695 GB, free: 8.137 MB / 490.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004458/0.4781, allocations: 328.2 kB / 0.6698 GB, free: 7.785 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.372e-05/0.4782, allocations: 122.8 kB / 0.6699 GB, free: 7.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.4783, allocations: 4 kB / 0.6699 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4783, allocations: 0 / 0.6699 GB, free: 7.637 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.4784, allocations: 24.58 kB / 0.67 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4784, allocations: 4.25 kB / 0.67 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.4785, allocations: 15.91 kB / 0.67 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4786, allocations: 12 kB / 0.67 GB, free: 7.582 MB / 490.7 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 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete 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.000153/0.4787, allocations: 188.2 kB / 0.6702 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.4788, allocations: 11.91 kB / 0.6702 GB, free: 7.367 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.971e-05/0.4788, allocations: 25.47 kB / 0.6702 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4788, allocations: 1.781 kB / 0.6702 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4788, allocations: 0 / 0.6702 GB, free: 7.344 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4788, allocations: 4 kB / 0.6702 GB, free: 7.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006423/0.4795, allocations: 0.5602 MB / 0.6708 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4795, allocations: 0 / 0.6708 GB, free: 6.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.708e-05/0.4796, allocations: 12 kB / 0.6708 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.4796, allocations: 7.938 kB / 0.6708 GB, free: 6.691 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.4796, allocations: 11.94 kB / 0.6708 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4796, allocations: 0 / 0.6708 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4796, allocations: 0 / 0.6708 GB, free: 6.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.4801, allocations: 387.9 kB / 0.6712 GB, free: 6.273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.4802, allocations: 96.91 kB / 0.6713 GB, free: 6.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.4802, allocations: 7.953 kB / 0.6713 GB, free: 6.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4803, allocations: 8 kB / 0.6713 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.4804, allocations: 7.984 kB / 0.6713 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.4804, allocations: 8 kB / 0.6713 GB, free: 6.129 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4805, allocations: 128.3 kB / 0.6714 GB, free: 6.004 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4805, allocations: 4 kB / 0.6714 GB, free: 6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.4808, allocations: 36 kB / 0.6715 GB, free: 5.965 MB / 490.7 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) * 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.0008073/0.4816, allocations: 0.9453 MB / 0.6724 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003743/0.482, allocations: 345.4 kB / 0.6727 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.482, allocations: 0 / 0.6727 GB, free: 4.602 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.4822, allocations: 186.8 kB / 0.6729 GB, free: 4.395 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.4824, allocations: 25.31 kB / 0.6729 GB, free: 4.367 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.4831, allocations: 259.8 kB / 0.6732 GB, free: 4.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4834, allocations: 0.716 MB / 0.6739 GB, free: 3.328 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.584e-05/0.4834, allocations: 24.47 kB / 0.6739 GB, free: 3.305 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.4835, allocations: 35.42 kB / 0.6739 GB, free: 3.273 MB / 490.7 MB Notification: Performance of SimCode: time 3e-07/0.4835, allocations: 0 / 0.6739 GB, free: 3.273 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.4977, allocations: 3.291 MB / 0.6771 GB, free: 132 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.4979, allocations: 155.6 kB / 0.6773 GB, free: 15.9 MB / 0.4948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.o IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.c In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.c:7: In file included from ./IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_includes.h:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources/fileWriterFree.c:7:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.o] Error 1