Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.051/4.051, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.185e-05, allocations: 4.516 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/0.5021, allocations: 127.9 MB / 0.7596 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.5025, allocations: 79.95 kB / 0.7597 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03145/0.534, allocations: 6.749 MB / 0.7663 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.493e-06/0.534, allocations: 0 / 0.7663 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.534, allocations: 4 kB / 0.7663 GB, free: 10.94 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009291/0.535, allocations: 0.5107 MB / 0.7668 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.535, allocations: 16.03 kB / 0.7668 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.424e-05/0.5351, allocations: 46.55 kB / 0.7669 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.5353, allocations: 23.66 kB / 0.7669 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.5361, allocations: 262.7 kB / 0.7671 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.5362, allocations: 12 kB / 0.7671 GB, free: 9.965 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.775e-05/0.5362, allocations: 16 kB / 0.7672 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003185/0.5366, allocations: 105.6 kB / 0.7673 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5366, allocations: 3.938 kB / 0.7673 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.5366, allocations: 4 kB / 0.7673 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.5366, allocations: 4 kB / 0.7673 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.5369, allocations: 63.92 kB / 0.7673 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.5383, allocations: 492.3 kB / 0.7678 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.539, allocations: 110.7 kB / 0.7679 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5392, allocations: 36.86 kB / 0.7679 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.5392, allocations: 4 kB / 0.7679 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.5395, allocations: 99.38 kB / 0.768 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 5.63e-06/0.5396, allocations: 0 / 0.768 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004344/0.54, allocations: 137.3 kB / 0.7682 GB, free: 8.824 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.5401, allocations: 55.41 kB / 0.7682 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.5404, allocations: 191 kB / 0.7684 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.88e-05/0.5404, allocations: 29.7 kB / 0.7684 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.5406, allocations: 128.4 kB / 0.7686 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.5406, allocations: 35.52 kB / 0.7686 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.5407, allocations: 8 kB / 0.7686 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5409, allocations: 330.8 kB / 0.7689 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.5411, allocations: 60.58 kB / 0.769 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.5415, allocations: 129.7 kB / 0.7691 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.5418, allocations: 135.4 kB / 0.7692 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5418, allocations: 0 / 0.7692 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008986/0.5427, allocations: 329 kB / 0.7695 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.5428, allocations: 69.77 kB / 0.7696 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5429, allocations: 4 kB / 0.7696 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.5429, allocations: 4 kB / 0.7696 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.5431, allocations: 15.94 kB / 0.7696 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.5431, allocations: 4 kB / 0.7696 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.5434, allocations: 27.83 kB / 0.7697 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.5435, allocations: 11.98 kB / 0.7697 GB, free: 7.184 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001445/0.5436, allocations: 132.8 kB / 0.7698 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.5437, allocations: 15.81 kB / 0.7698 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.5441, allocations: 155.2 kB / 0.77 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5441, allocations: 0 / 0.77 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5442, allocations: 7.938 kB / 0.77 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5442, allocations: 0 / 0.77 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009285/0.5451, allocations: 498.1 kB / 0.7704 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5451, allocations: 0 / 0.7704 GB, free: 6.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.125e-05/0.5452, allocations: 4 kB / 0.7704 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5452, allocations: 0 / 0.7704 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.5453, allocations: 15.98 kB / 0.7705 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5453, allocations: 0 / 0.7705 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5453, allocations: 0 / 0.7705 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.5457, allocations: 239.2 kB / 0.7707 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.5459, allocations: 96.83 kB / 0.7708 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.5459, allocations: 7.984 kB / 0.7708 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.5462, allocations: 4 kB / 0.7708 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.5463, allocations: 19.97 kB / 0.7708 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.5464, allocations: 11.98 kB / 0.7708 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000197/0.5466, allocations: 145.5 kB / 0.771 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5466, allocations: 0 / 0.771 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004829/0.5471, allocations: 55.92 kB / 0.771 GB, free: 5.699 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001054/0.5482, allocations: 0.8343 MB / 0.7718 GB, free: 4.855 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005737/0.5488, allocations: 238.7 kB / 0.7721 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5488, allocations: 0 / 0.7721 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.549, allocations: 55.86 kB / 0.7721 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.5495, allocations: 60.61 kB / 0.7722 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5506, allocations: 288.1 kB / 0.7724 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.551, allocations: 0.7285 MB / 0.7731 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.5512, allocations: 37.98 kB / 0.7732 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.5513, allocations: 59.41 kB / 0.7732 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of SimCode: time 1.223e-06/0.5513, allocations: 0 / 0.7732 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6155/1.167, allocations: 4.951 MB / 0.7781 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.167, allocations: 195.6 kB / 0.7783 GB, free: 138.5 MB / 0.6511 GB 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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_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 Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1