Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001276, allocations: 181 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009682, allocations: 98.06 kB / 0.7509 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003619, allocations: 8 kB / 0.8748 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7515/1.012, allocations: 142.5 MB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.012, allocations: 79.22 kB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02158/1.034, allocations: 6.767 MB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/1.034, allocations: 4 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.397e-05/1.034, allocations: 0 / 1.134 GB, free: 28.22 MB / 0.7292 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.0007182/1.035, allocations: 0.5485 MB / 1.135 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.035, allocations: 12.02 kB / 1.135 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/1.035, allocations: 45.75 kB / 1.135 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/1.035, allocations: 25.88 kB / 1.135 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/1.035, allocations: 271.9 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.035, allocations: 8 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/1.036, allocations: 17.92 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/1.036, allocations: 106.1 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/1.036, allocations: 0.5156 kB / 1.135 GB, free: 27.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.036, allocations: 4.797 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/1.036, allocations: 4 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/1.036, allocations: 61.84 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008405/1.037, allocations: 493.8 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/1.037, allocations: 112.1 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/1.037, allocations: 8.641 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/1.037, allocations: 99.12 kB / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/1.037, allocations: 0 / 1.136 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000331/1.038, allocations: 173.7 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.038, allocations: 60.34 kB / 1.136 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/1.038, allocations: 183.8 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/1.038, allocations: 34.92 kB / 1.136 GB, free: 26.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/1.038, allocations: 121.9 kB / 1.137 GB, free: 25.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/1.038, allocations: 42.47 kB / 1.137 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/1.038, allocations: 4 kB / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/1.038, allocations: 333.1 kB / 1.137 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/1.038, allocations: 61.64 kB / 1.137 GB, free: 25.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/1.038, allocations: 133 kB / 1.137 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/1.039, allocations: 140.1 kB / 1.137 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.039, allocations: 0 / 1.137 GB, free: 25.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000515/1.039, allocations: 321.6 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/1.039, allocations: 63.58 kB / 1.138 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.039, allocations: 4.891 kB / 1.138 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/1.039, allocations: 4.156 kB / 1.138 GB, free: 24.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/1.039, allocations: 28.77 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.039, allocations: 4.547 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.04, allocations: 23.41 kB / 1.138 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/1.04, allocations: 15.66 kB / 1.138 GB, free: 24.77 MB / 0.7292 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 () * Number of clocked 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.0001185/1.04, allocations: 146.8 kB / 1.138 GB, free: 24.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/1.04, allocations: 16.8 kB / 1.138 GB, free: 24.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/1.04, allocations: 152.2 kB / 1.138 GB, free: 24.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/1.04, allocations: 5.359 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.04, allocations: 0.75 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.04, allocations: 0.8438 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/1.041, allocations: 493.7 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.041, allocations: 0 / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/1.041, allocations: 14.97 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.041, allocations: 1.031 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.041, allocations: 0.8438 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.041, allocations: 4 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.041, allocations: 0.6094 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/1.041, allocations: 236.1 kB / 1.139 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/1.041, allocations: 94.42 kB / 1.139 GB, free: 23.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/1.041, allocations: 14.19 kB / 1.139 GB, free: 23.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.041, allocations: 15.28 kB / 1.139 GB, free: 23.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/1.041, allocations: 15.88 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/1.041, allocations: 9.172 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001016/1.041, allocations: 138.2 kB / 1.139 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/1.041, allocations: 0.8438 kB / 1.139 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003067/1.042, allocations: 57.86 kB / 1.139 GB, free: 23.41 MB / 0.7292 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 () * Number of clocked 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.0006852/1.042, allocations: 0.8461 MB / 1.14 GB, free: 22.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003526/1.043, allocations: 251.7 kB / 1.14 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.043, allocations: 4 kB / 1.14 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/1.043, allocations: 45.14 kB / 1.14 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/1.043, allocations: 56.2 kB / 1.14 GB, free: 22.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.044, allocations: 1.533 MB / 1.142 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/1.044, allocations: 0.7361 MB / 1.142 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.781e-05/1.045, allocations: 27.59 kB / 1.142 GB, free: 19.94 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/1.045, allocations: 58.7 kB / 1.142 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.045, allocations: 0 / 1.142 GB, free: 19.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/1.066, allocations: 4.909 MB / 1.147 GB, free: 17.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/1.067, allocations: 215 kB / 1.147 GB, free: 16.85 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.o Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1