Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.087/3.087, allocations: 325.3 MB / 337.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.312e-05, allocations: 4 kB / 414.9 MB, free: 6.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1646, allocations: 74.42 MB / 489.3 MB, free: 11.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6392/0.8039, allocations: 104.1 MB / 0.5794 GB, free: 11.26 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.8043, allocations: 85 kB / 0.5795 GB, free: 11.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01148/0.8158, allocations: 2.557 MB / 0.582 GB, free: 8.969 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.8159, allocations: 0 / 0.582 GB, free: 8.969 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.8159, allocations: 4 kB / 0.582 GB, free: 8.965 MB / 474.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.000691/0.8166, allocations: 0.505 MB / 0.5825 GB, free: 8.402 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8166, allocations: 8.031 kB / 0.5825 GB, free: 8.395 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.8167, allocations: 38 kB / 0.5826 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.247e-05/0.8168, allocations: 11.91 kB / 0.5826 GB, free: 8.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.8172, allocations: 223.6 kB / 0.5828 GB, free: 8.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.8172, allocations: 7.188 kB / 0.5828 GB, free: 8.086 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.8173, allocations: 12 kB / 0.5828 GB, free: 8.074 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.8176, allocations: 90.44 kB / 0.5829 GB, free: 7.996 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8176, allocations: 4 kB / 0.5829 GB, free: 7.992 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.8176, allocations: 4 kB / 0.5829 GB, free: 7.988 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.8176, allocations: 3.938 kB / 0.5829 GB, free: 7.984 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.8178, allocations: 46.11 kB / 0.583 GB, free: 7.953 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.8188, allocations: 396.6 kB / 0.5833 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.819, allocations: 64.88 kB / 0.5834 GB, free: 7.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.8192, allocations: 62.83 kB / 0.5835 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.8192, allocations: 96 / 0.5835 GB, free: 7.453 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.8195, allocations: 161.5 kB / 0.5836 GB, free: 7.289 MB / 474.7 MB Notification: Performance of pre-optimization done (n=10): time 2.635e-06/0.8195, allocations: 4 kB / 0.5836 GB, free: 7.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006341/0.8202, allocations: 244.2 kB / 0.5838 GB, free: 7.062 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.8203, allocations: 166.1 kB / 0.584 GB, free: 6.863 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.8205, allocations: 149.8 kB / 0.5841 GB, free: 6.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.8206, allocations: 33.33 kB / 0.5842 GB, free: 6.695 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.8207, allocations: 102.8 kB / 0.5843 GB, free: 6.605 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.8207, allocations: 31.31 kB / 0.5843 GB, free: 6.578 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.8207, allocations: 4 kB / 0.5843 GB, free: 6.574 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8209, allocations: 330 kB / 0.5846 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.821, allocations: 39.05 kB / 0.5847 GB, free: 6.223 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.8212, allocations: 89.67 kB / 0.5847 GB, free: 6.125 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.8214, allocations: 153.8 kB / 0.5849 GB, free: 5.961 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8215, allocations: 3.938 kB / 0.5849 GB, free: 5.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006174/0.8221, allocations: 299.6 kB / 0.5852 GB, free: 5.664 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/0.8222, allocations: 110.8 kB / 0.5853 GB, free: 5.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8222, allocations: 4.234 kB / 0.5853 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.8223, allocations: 8 kB / 0.5853 GB, free: 5.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.8225, allocations: 16 kB / 0.5853 GB, free: 5.504 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.8225, allocations: 3.984 kB / 0.5853 GB, free: 5.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.8227, allocations: 15.25 kB / 0.5853 GB, free: 5.488 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.8227, allocations: 4 kB / 0.5853 GB, free: 5.484 MB / 474.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.000191/0.8229, allocations: 189.3 kB / 0.5855 GB, free: 5.289 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.823, allocations: 15.81 kB / 0.5855 GB, free: 5.273 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.791e-05/0.8231, allocations: 17.28 kB / 0.5855 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8231, allocations: 3.984 kB / 0.5856 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8231, allocations: 4 kB / 0.5856 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8231, allocations: 0 / 0.5856 GB, free: 5.242 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009145/0.824, allocations: 0.5308 MB / 0.5861 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.8241, allocations: 0 / 0.5861 GB, free: 4.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.8242, allocations: 11.98 kB / 0.5861 GB, free: 4.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.8242, allocations: 8 kB / 0.5861 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.8243, allocations: 4 kB / 0.5861 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.8243, allocations: 4 kB / 0.5861 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8243, allocations: 0 / 0.5861 GB, free: 4.676 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006259/0.8249, allocations: 350.2 kB / 0.5864 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.825, allocations: 96.36 kB / 0.5865 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.8251, allocations: 0 / 0.5865 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.8253, allocations: 15.98 kB / 0.5865 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.8254, allocations: 7.125 kB / 0.5865 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.8254, allocations: 7.984 kB / 0.5866 GB, free: 4.207 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.8256, allocations: 125.1 kB / 0.5867 GB, free: 4.098 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8256, allocations: 0 / 0.5867 GB, free: 4.098 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.826, allocations: 39.3 kB / 0.5867 GB, free: 4.062 MB / 474.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.00117/0.8272, allocations: 0.9181 MB / 0.5876 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.8278, allocations: 330.5 kB / 0.5879 GB, free: 2.812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8278, allocations: 0.5 kB / 0.5879 GB, free: 2.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.8281, allocations: 168.9 kB / 0.5881 GB, free: 2.645 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.8283, allocations: 15.67 kB / 0.5881 GB, free: 2.633 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009256/0.8293, allocations: 236.8 kB / 0.5883 GB, free: 2.395 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.8296, allocations: 0.7082 MB / 0.589 GB, free: 1.66 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.8298, allocations: 24.39 kB / 0.589 GB, free: 1.637 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.8299, allocations: 41.23 kB / 0.5891 GB, free: 1.613 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8299, allocations: 3.938 kB / 0.5891 GB, free: 1.609 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.8539, allocations: 2.899 MB / 0.5919 GB, free: 14.79 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000401/0.8544, allocations: 158.2 kB / 0.5921 GB, free: 14.56 MB / 490.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter.o BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter.c In file included from BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter.c:7: In file included from ./BuildSysPro_BuildSysPro_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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:2: In file included from ./BuildSysPro_BuildSysPro_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 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" ^~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.o' failed make: *** [BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVWriter_functions.o] Error 1