Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.523/2.523, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001559/0.001559, allocations: 175.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 86.92 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006417, allocations: 11.78 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2259, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9522/1.178, allocations: 141.3 MB / 1.116 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.179, allocations: 76.5 kB / 1.116 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02879/1.207, allocations: 6.761 MB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/1.207, allocations: 0 / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.214e-05/1.207, allocations: 7.719 kB / 1.123 GB, free: 31.13 MB / 0.698 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.001077/1.209, allocations: 0.5434 MB / 1.124 GB, free: 30.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/1.209, allocations: 15.48 kB / 1.124 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.366e-05/1.209, allocations: 44.67 kB / 1.124 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.783e-05/1.209, allocations: 26.22 kB / 1.124 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/1.209, allocations: 278.9 kB / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.21, allocations: 7.219 kB / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/1.21, allocations: 14.94 kB / 1.124 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/1.21, allocations: 112 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.21, allocations: 3.938 kB / 1.124 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/1.21, allocations: 3.953 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.21, allocations: 3.781 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/1.21, allocations: 60.59 kB / 1.124 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.211, allocations: 498.5 kB / 1.125 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/1.212, allocations: 104.1 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/1.212, allocations: 7.469 kB / 1.125 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/1.212, allocations: 106.4 kB / 1.125 GB, free: 29.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/1.212, allocations: 0 / 1.125 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0004692/1.212, allocations: 172.8 kB / 1.125 GB, free: 29.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.213, allocations: 55.25 kB / 1.125 GB, free: 29.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/1.213, allocations: 183.7 kB / 1.125 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.486e-05/1.213, allocations: 35.23 kB / 1.125 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/1.213, allocations: 127.3 kB / 1.125 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/1.213, allocations: 37.86 kB / 1.125 GB, free: 29.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/1.213, allocations: 11.53 kB / 1.125 GB, free: 29.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.213, allocations: 332 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/1.213, allocations: 64.06 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/1.214, allocations: 133.5 kB / 1.126 GB, free: 29.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/1.214, allocations: 133.6 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.214, allocations: 0 / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008511/1.215, allocations: 329.2 kB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/1.215, allocations: 67.17 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.215, allocations: 3.875 kB / 1.126 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.215, allocations: 8 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.215, allocations: 14.45 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.215, allocations: 7.75 kB / 1.126 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/1.216, allocations: 25.88 kB / 1.126 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/1.216, allocations: 14.27 kB / 1.126 GB, free: 28.94 MB / 0.698 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.0002443/1.216, allocations: 144.8 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/1.216, allocations: 15.5 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/1.216, allocations: 155.3 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.216, allocations: 3.844 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.216, allocations: 0 / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.216, allocations: 2.156 kB / 1.127 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008285/1.217, allocations: 490.9 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.217, allocations: 3.875 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.721e-05/1.217, allocations: 10.52 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/1.217, allocations: 4 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.217, allocations: 3.812 kB / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.217, allocations: 0 / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.217, allocations: 0 / 1.127 GB, free: 28.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/1.218, allocations: 242.3 kB / 1.127 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/1.218, allocations: 98.69 kB / 1.128 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/1.218, allocations: 3.969 kB / 1.128 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.218, allocations: 20.7 kB / 1.128 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/1.218, allocations: 12.5 kB / 1.128 GB, free: 28.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/1.218, allocations: 6.078 kB / 1.128 GB, free: 28.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001659/1.218, allocations: 143 kB / 1.128 GB, free: 28.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.218, allocations: 0 / 1.128 GB, free: 28.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004949/1.219, allocations: 53.75 kB / 1.128 GB, free: 28.11 MB / 0.698 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.0009871/1.22, allocations: 0.8455 MB / 1.129 GB, free: 27.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006246/1.221, allocations: 250.3 kB / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.221, allocations: 0 / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/1.221, allocations: 52.97 kB / 1.129 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/1.221, allocations: 53.8 kB / 1.129 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/1.223, allocations: 1.533 MB / 1.13 GB, free: 25.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/1.223, allocations: 0.7417 MB / 1.131 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001631/1.224, allocations: 25.72 kB / 1.131 GB, free: 25.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.224, allocations: 50.8 kB / 1.131 GB, free: 25.15 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/1.224, allocations: 0 / 1.131 GB, free: 25.15 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/1.257, allocations: 4.9 MB / 1.136 GB, free: 23.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/1.257, allocations: 223.7 kB / 1.136 GB, free: 23.37 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries.c:7: In file included from ./Buildings_8_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: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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:2: In file included from ./Buildings_8_0_0_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_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_TimeSeries_functions.o] Error 1