Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json 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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.164/2.164, allocations: 248.5 MB / 261 MB, free: 6.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 170.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 108.1 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.459e-05/3.476e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1936, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8376/1.031, allocations: 135 MB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.032, allocations: 78.41 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0321/1.064, allocations: 6.756 MB / 1.029 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/1.064, allocations: 4 kB / 1.029 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.434e-05/1.064, allocations: 4 kB / 1.029 GB, free: 10.52 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.0009689/1.065, allocations: 0.5151 MB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.065, allocations: 12.03 kB / 1.03 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/1.065, allocations: 41.69 kB / 1.03 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/1.065, allocations: 27.7 kB / 1.03 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/1.066, allocations: 274.3 kB / 1.03 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/1.066, allocations: 15.3 kB / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/1.066, allocations: 15.25 kB / 1.03 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/1.066, allocations: 99.48 kB / 1.03 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/1.066, allocations: 3.984 kB / 1.03 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/1.066, allocations: 7.438 kB / 1.03 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.066, allocations: 4 kB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/1.067, allocations: 58.67 kB / 1.03 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/1.068, allocations: 493.7 kB / 1.031 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/1.068, allocations: 106.5 kB / 1.031 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/1.068, allocations: 35.55 kB / 1.031 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/1.068, allocations: 8.031 kB / 1.031 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/1.069, allocations: 120.6 kB / 1.031 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/1.069, allocations: 0 / 1.031 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004263/1.069, allocations: 131.4 kB / 1.031 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/1.069, allocations: 55.41 kB / 1.031 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/1.07, allocations: 183.3 kB / 1.031 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.581e-05/1.07, allocations: 33.08 kB / 1.031 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.07, allocations: 122.3 kB / 1.031 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/1.07, allocations: 37.7 kB / 1.031 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/1.07, allocations: 11.75 kB / 1.031 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.07, allocations: 338 kB / 1.032 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/1.07, allocations: 57.8 kB / 1.032 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/1.071, allocations: 128.2 kB / 1.032 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/1.071, allocations: 134.1 kB / 1.032 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.071, allocations: 0 / 1.032 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000869/1.072, allocations: 322.8 kB / 1.032 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/1.072, allocations: 63.39 kB / 1.032 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.072, allocations: 4.156 kB / 1.032 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.072, allocations: 8 kB / 1.032 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.072, allocations: 19.48 kB / 1.032 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.072, allocations: 7.938 kB / 1.032 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/1.073, allocations: 23.83 kB / 1.033 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/1.073, allocations: 11.38 kB / 1.033 GB, free: 7.141 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.0001521/1.073, allocations: 126.7 kB / 1.033 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/1.073, allocations: 15.81 kB / 1.033 GB, free: 7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/1.073, allocations: 153.9 kB / 1.033 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.073, allocations: 3.938 kB / 1.033 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.073, allocations: 4 kB / 1.033 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.073, allocations: 0 / 1.033 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008923/1.074, allocations: 489.1 kB / 1.033 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.074, allocations: 4 kB / 1.033 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.616e-05/1.074, allocations: 7.984 kB / 1.033 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.074, allocations: 0 / 1.033 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/1.074, allocations: 7.312 kB / 1.033 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.074, allocations: 4 kB / 1.033 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.074, allocations: 0 / 1.033 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/1.075, allocations: 235.6 kB / 1.034 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/1.075, allocations: 100.8 kB / 1.034 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/1.075, allocations: 10.88 kB / 1.034 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/1.075, allocations: 11.92 kB / 1.034 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/1.075, allocations: 15.97 kB / 1.034 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/1.075, allocations: 8 kB / 1.034 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000171/1.075, allocations: 148.8 kB / 1.034 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/1.075, allocations: 0 / 1.034 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004664/1.076, allocations: 54.25 kB / 1.034 GB, free: 5.809 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.0009951/1.077, allocations: 0.836 MB / 1.035 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005742/1.078, allocations: 245.1 kB / 1.035 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.078, allocations: 0 / 1.035 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/1.078, allocations: 45.16 kB / 1.035 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/1.078, allocations: 51.23 kB / 1.035 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/1.079, allocations: 296.3 kB / 1.035 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/1.08, allocations: 0.7322 MB / 1.036 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001519/1.08, allocations: 26.16 kB / 1.036 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/1.08, allocations: 51.8 kB / 1.036 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of SimCode: time 1.794e-06/1.08, allocations: 4 kB / 1.036 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03608/1.116, allocations: 4.958 MB / 1.041 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/1.117, allocations: 192 kB / 1.041 GB, free: 14.52 MB / 0.6667 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_7_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1