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.356/2.356, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 180.2 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001887/0.001887, allocations: 89.47 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004854, allocations: 11.62 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.248, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2317/0.4797, allocations: 134.7 MB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.4801, allocations: 75.97 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02931/0.5094, allocations: 6.193 MB / 1.036 GB, free: 4.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.001e-05/0.5095, allocations: 4 kB / 1.036 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.192e-05/0.5095, allocations: 4 kB / 1.037 GB, free: 4.703 MB / 0.6823 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.001032/0.5106, allocations: 0.5344 MB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.5106, allocations: 12.03 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.5107, allocations: 38.55 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.5108, allocations: 23.72 kB / 1.037 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.5115, allocations: 242.8 kB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.5116, allocations: 12.17 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.5116, allocations: 16 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.5119, allocations: 95.09 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5119, allocations: 4 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.512, allocations: 11.89 kB / 1.037 GB, free: 3.609 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.512, allocations: 4 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.5122, allocations: 52.53 kB / 1.038 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.5134, allocations: 477.5 kB / 1.038 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.5136, allocations: 74.55 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.5137, allocations: 4 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.5139, allocations: 99.3 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=14): time 2.866e-06/0.514, allocations: 0 / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0004633/0.5144, allocations: 141.5 kB / 1.038 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5145, allocations: 55.41 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.5148, allocations: 181.2 kB / 1.038 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5148, allocations: 29.7 kB / 1.039 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.515, allocations: 120.5 kB / 1.039 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.515, allocations: 31.55 kB / 1.039 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.515, allocations: 8 kB / 1.039 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5152, allocations: 330.8 kB / 1.039 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.5153, allocations: 27.98 kB / 1.039 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.5157, allocations: 130.2 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.5158, allocations: 45.16 kB / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5158, allocations: 0 / 1.039 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003743/0.5162, allocations: 146.3 kB / 1.039 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5163, allocations: 5.875 kB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.5163, allocations: 4 kB / 1.039 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.5163, allocations: 4 kB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5165, allocations: 27.86 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5165, allocations: 4 kB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.5169, allocations: 19.86 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.5169, allocations: 11.98 kB / 1.039 GB, free: 1.469 MB / 0.6823 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 () * Number of clocked 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.0001955/0.5171, allocations: 137.6 kB / 1.04 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.5172, allocations: 19.81 kB / 1.04 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003474/0.5175, allocations: 129.4 kB / 1.04 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5175, allocations: 4 kB / 1.04 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5176, allocations: 3.938 kB / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5176, allocations: 0 / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.5184, allocations: 466.2 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5185, allocations: 0 / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.5185, allocations: 15.94 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.5186, allocations: 0 / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.5186, allocations: 4 kB / 1.04 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5186, allocations: 3.953 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5186, allocations: 0 / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.5189, allocations: 217.8 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.519, allocations: 92.91 kB / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.5191, allocations: 8 kB / 1.04 GB, free: 292 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.5192, allocations: 8 kB / 1.04 GB, free: 284 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.5193, allocations: 23.92 kB / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.5194, allocations: 4 kB / 1.04 GB, free: 256 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001669/0.5195, allocations: 136.3 kB / 1.041 GB, free: 120 kB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5196, allocations: 3.938 kB / 1.041 GB, free: 116 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004878/0.5201, allocations: 55.92 kB / 1.041 GB, free: 60 kB / 0.6823 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 () * Number of clocked 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.0009798/0.521, allocations: 0.8081 MB / 1.041 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003434/0.5214, allocations: 91.81 kB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5214, allocations: 0 / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.5216, allocations: 43.92 kB / 1.042 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.5221, allocations: 49.44 kB / 1.042 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.5238, allocations: 1.336 MB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.5242, allocations: 0.7283 MB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.5244, allocations: 25.48 kB / 1.044 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.5246, allocations: 55.41 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.5246, allocations: 0 / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.5517, allocations: 4.539 MB / 1.048 GB, free: 8.422 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.552, allocations: 209.1 kB / 1.048 GB, free: 8.188 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 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: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 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: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_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