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.793/1.793, allocations: 289.7 MB / 302.2 MB, free: 2.145 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.001178/0.001178, allocations: 181.1 kB / 371.6 MB, free: 3.395 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.761/1.761, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001016/0.001016, allocations: 93.58 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.162e-05/6.164e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9359/1.263, allocations: 142.4 MB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/1.263, allocations: 77.45 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01606/1.279, allocations: 6.741 MB / 1.126 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.279, allocations: 0 / 1.126 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.279, allocations: 7.938 kB / 1.126 GB, free: 38.54 MB / 0.7448 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.0005482/1.28, allocations: 0.5247 MB / 1.126 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.28, allocations: 11.97 kB / 1.126 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.838e-05/1.28, allocations: 41.89 kB / 1.126 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/1.28, allocations: 23.08 kB / 1.126 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/1.281, allocations: 266.4 kB / 1.126 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/1.281, allocations: 7.312 kB / 1.126 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/1.281, allocations: 22.69 kB / 1.126 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.281, allocations: 104.8 kB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/1.281, allocations: 0 / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/1.281, allocations: 11.88 kB / 1.127 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/1.281, allocations: 3.953 kB / 1.127 GB, free: 37.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/1.281, allocations: 56.77 kB / 1.127 GB, free: 37.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/1.282, allocations: 494.4 kB / 1.127 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/1.282, allocations: 108.1 kB / 1.127 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.55e-05/1.282, allocations: 40.25 kB / 1.127 GB, free: 37.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/1.282, allocations: 4 kB / 1.127 GB, free: 37.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/1.282, allocations: 101.4 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/1.282, allocations: 3.938 kB / 1.127 GB, free: 36.96 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002493/1.282, allocations: 136.3 kB / 1.127 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.282, allocations: 58.83 kB / 1.128 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/1.283, allocations: 182.9 kB / 1.128 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.283, allocations: 37.02 kB / 1.128 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/1.283, allocations: 123.3 kB / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/1.283, allocations: 41.34 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.283, allocations: 7.438 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/1.283, allocations: 333 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.283, allocations: 59.09 kB / 1.128 GB, free: 36.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/1.283, allocations: 129.2 kB / 1.128 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/1.283, allocations: 132.1 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.283, allocations: 4.031 kB / 1.129 GB, free: 35.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004236/1.284, allocations: 312.4 kB / 1.129 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/1.284, allocations: 73.23 kB / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/1.284, allocations: 0 / 1.129 GB, free: 35.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.284, allocations: 4 kB / 1.129 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/1.284, allocations: 18.09 kB / 1.129 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.284, allocations: 8.891 kB / 1.129 GB, free: 35.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/1.284, allocations: 30.5 kB / 1.129 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/1.284, allocations: 8 kB / 1.129 GB, free: 35.49 MB / 0.7448 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 8.059e-05/1.284, allocations: 135.6 kB / 1.129 GB, free: 35.37 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/1.284, allocations: 15.81 kB / 1.129 GB, free: 35.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/1.284, allocations: 141 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.284, allocations: 4 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.284, allocations: 0 / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.284, allocations: 1.125 kB / 1.129 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/1.285, allocations: 498.4 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.285, allocations: 0.6875 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/1.285, allocations: 4 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.285, allocations: 4 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.285, allocations: 5.906 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.285, allocations: 0 / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.285, allocations: 8.109 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/1.285, allocations: 233.1 kB / 1.13 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/1.285, allocations: 100.3 kB / 1.13 GB, free: 34.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/1.285, allocations: 7.5 kB / 1.13 GB, free: 34.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/1.285, allocations: 11.47 kB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/1.285, allocations: 19.3 kB / 1.13 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.286, allocations: 9.438 kB / 1.13 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.708e-05/1.286, allocations: 143 kB / 1.13 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.286, allocations: 0 / 1.13 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000287/1.286, allocations: 55.33 kB / 1.13 GB, free: 34.29 MB / 0.7448 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.0006731/1.287, allocations: 0.844 MB / 1.131 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002938/1.287, allocations: 243.3 kB / 1.131 GB, free: 33.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.287, allocations: 4.062 kB / 1.131 GB, free: 33.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/1.287, allocations: 55.67 kB / 1.131 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/1.287, allocations: 49.86 kB / 1.131 GB, free: 33.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/1.288, allocations: 290.2 kB / 1.132 GB, free: 32.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/1.288, allocations: 0.733 MB / 1.132 GB, free: 32.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.807e-05/1.288, allocations: 32.5 kB / 1.133 GB, free: 32.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.877e-05/1.288, allocations: 53.17 kB / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/1.288, allocations: 0 / 1.133 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/1.306, allocations: 4.948 MB / 1.137 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/1.307, allocations: 196.8 kB / 1.138 GB, free: 29.13 MB / 0.7448 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/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: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/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: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_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