Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter",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.256/2.256, allocations: 248.5 MB / 261.1 MB, free: 5.957 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.001447/0.001447, allocations: 177.6 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.00115/0.00115, allocations: 100.7 kB / 0.6754 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.81e-05, allocations: 0 / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 106.3 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8724/1.073, allocations: 134.7 MB / 1.022 GB, free: 360 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.074, allocations: 72.27 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02741/1.101, allocations: 6.164 MB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.573e-06/1.101, allocations: 3.938 kB / 1.028 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.101, allocations: 4 kB / 1.028 GB, free: 11.04 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008446/1.102, allocations: 0.5155 MB / 1.029 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.102, allocations: 8.031 kB / 1.029 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.158e-05/1.102, allocations: 41.67 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/1.102, allocations: 19.81 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/1.103, allocations: 255.2 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.103, allocations: 8 kB / 1.029 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/1.103, allocations: 27.86 kB / 1.029 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/1.103, allocations: 89.98 kB / 1.029 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/1.103, allocations: 3.938 kB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/1.103, allocations: 6.891 kB / 1.029 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/1.103, allocations: 4 kB / 1.029 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/1.104, allocations: 51.05 kB / 1.029 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/1.105, allocations: 470.4 kB / 1.03 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/1.105, allocations: 75.64 kB / 1.03 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/1.105, allocations: 35.09 kB / 1.03 GB, free: 9.445 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/1.105, allocations: 3.984 kB / 1.03 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/1.105, allocations: 89.58 kB / 1.03 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/1.105, allocations: 3.938 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0003673/1.106, allocations: 122.5 kB / 1.03 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/1.106, allocations: 55.39 kB / 1.03 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/1.106, allocations: 176.3 kB / 1.03 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/1.106, allocations: 33.33 kB / 1.03 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.106, allocations: 121.8 kB / 1.03 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/1.106, allocations: 34.53 kB / 1.03 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/1.106, allocations: 3.875 kB / 1.03 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.107, allocations: 329.2 kB / 1.031 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/1.107, allocations: 27 kB / 1.031 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/1.107, allocations: 132.7 kB / 1.031 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/1.107, allocations: 30.8 kB / 1.031 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.107, allocations: 4 kB / 1.031 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003701/1.108, allocations: 143.8 kB / 1.031 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.108, allocations: 10.66 kB / 1.031 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.108, allocations: 0 / 1.031 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.108, allocations: 4 kB / 1.031 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/1.108, allocations: 19.92 kB / 1.031 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/1.108, allocations: 4 kB / 1.031 GB, free: 8.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/1.108, allocations: 31.91 kB / 1.031 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/1.108, allocations: 4 kB / 1.031 GB, free: 8.148 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001353/1.108, allocations: 126.6 kB / 1.031 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/1.108, allocations: 15.81 kB / 1.031 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/1.109, allocations: 131.2 kB / 1.031 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.109, allocations: 4 kB / 1.031 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/1.109, allocations: 4 kB / 1.031 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.109, allocations: 0 / 1.031 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000808/1.11, allocations: 456.4 kB / 1.032 GB, free: 7.445 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/1.11, allocations: 7.938 kB / 1.032 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/1.11, allocations: 4 kB / 1.032 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.11, allocations: 0 / 1.032 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/1.11, allocations: 0 / 1.032 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.405e-06/1.11, allocations: 11.89 kB / 1.032 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.11, allocations: 7.938 kB / 1.032 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/1.11, allocations: 214.6 kB / 1.032 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.326e-05/1.11, allocations: 92.86 kB / 1.032 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/1.11, allocations: 7.109 kB / 1.032 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.11, allocations: 8 kB / 1.032 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/1.11, allocations: 23.61 kB / 1.032 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/1.111, allocations: 8 kB / 1.032 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001611/1.111, allocations: 139.1 kB / 1.032 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.111, allocations: 0 / 1.032 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004524/1.111, allocations: 47.52 kB / 1.032 GB, free: 6.898 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001002/1.112, allocations: 0.8189 MB / 1.033 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003279/1.113, allocations: 90.88 kB / 1.033 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.113, allocations: 4.062 kB / 1.033 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/1.113, allocations: 40.98 kB / 1.033 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/1.113, allocations: 41.95 kB / 1.033 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.114, allocations: 260.5 kB / 1.034 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/1.115, allocations: 0.7277 MB / 1.034 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001332/1.115, allocations: 21.53 kB / 1.034 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.115, allocations: 47.11 kB / 1.034 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of SimCode: time 3.557e-06/1.115, allocations: 0 / 1.034 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/1.143, allocations: 4.587 MB / 1.039 GB, free: 436 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003276/1.143, allocations: 190.1 kB / 1.039 GB, free: 204 kB / 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/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_Scatter.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1