Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.Scatter.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.Scatter,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.813/2.813, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.001599/0.001599, allocations: 177.8 kB / 370.8 MB, free: 10.86 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001208/0.001208, allocations: 85.61 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.0005199, allocations: 12.36 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2395, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9852/1.225, allocations: 141 MB / 1.116 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/1.225, allocations: 78.47 kB / 1.116 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04344/1.269, allocations: 6.163 MB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.558e-06/1.269, allocations: 0 / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.041e-05/1.269, allocations: 3.812 kB / 1.122 GB, free: 30.8 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.002294/1.271, allocations: 0.5387 MB / 1.123 GB, free: 30.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/1.271, allocations: 11.7 kB / 1.123 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/1.271, allocations: 44.7 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/1.272, allocations: 23.33 kB / 1.123 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/1.272, allocations: 262.8 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.273, allocations: 7.031 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/1.273, allocations: 18.84 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/1.273, allocations: 94.56 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.273, allocations: 4 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.273, allocations: 7.344 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/1.273, allocations: 3.953 kB / 1.123 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/1.273, allocations: 57.56 kB / 1.123 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/1.274, allocations: 469.9 kB / 1.124 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/1.274, allocations: 72.73 kB / 1.124 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/1.275, allocations: 7.547 kB / 1.124 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/1.275, allocations: 96.64 kB / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 3.347e-06/1.275, allocations: 0 / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000433/1.275, allocations: 147.4 kB / 1.124 GB, free: 29.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/1.275, allocations: 58.38 kB / 1.124 GB, free: 29.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/1.276, allocations: 177.5 kB / 1.124 GB, free: 29.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/1.276, allocations: 29.08 kB / 1.124 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.276, allocations: 119.9 kB / 1.124 GB, free: 29.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/1.276, allocations: 40.91 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/1.276, allocations: 3.25 kB / 1.124 GB, free: 29.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.276, allocations: 328.1 kB / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/1.276, allocations: 32.55 kB / 1.125 GB, free: 28.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/1.276, allocations: 127.4 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/1.277, allocations: 33.91 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/1.277, allocations: 0 / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003498/1.277, allocations: 146.5 kB / 1.125 GB, free: 28.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/1.277, allocations: 11.81 kB / 1.125 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/1.277, allocations: 224 / 1.125 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.277, allocations: 3.875 kB / 1.125 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/1.277, allocations: 25.92 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/1.277, allocations: 3.906 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/1.278, allocations: 18.72 kB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/1.278, allocations: 3.812 kB / 1.125 GB, free: 28.82 MB / 0.698 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.0002137/1.278, allocations: 140 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/1.278, allocations: 19.38 kB / 1.125 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/1.278, allocations: 132.5 kB / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.278, allocations: 0 / 1.125 GB, free: 28.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.278, allocations: 3.938 kB / 1.125 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.278, allocations: 6.375 kB / 1.125 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/1.279, allocations: 464.3 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.279, allocations: 0 / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/1.279, allocations: 7.875 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.279, allocations: 3.844 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/1.279, allocations: 3.422 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.279, allocations: 2.625 kB / 1.126 GB, free: 28.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/1.279, allocations: 7.938 kB / 1.126 GB, free: 28.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/1.28, allocations: 207.1 kB / 1.126 GB, free: 28.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/1.28, allocations: 95.34 kB / 1.126 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/1.28, allocations: 7 kB / 1.126 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/1.28, allocations: 9.891 kB / 1.126 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.668e-05/1.28, allocations: 19.45 kB / 1.126 GB, free: 28.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/1.28, allocations: 7.797 kB / 1.126 GB, free: 28.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001667/1.28, allocations: 143.6 kB / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.28, allocations: 0 / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000498/1.281, allocations: 51.62 kB / 1.126 GB, free: 27.98 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: 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.001016/1.282, allocations: 0.8231 MB / 1.127 GB, free: 27.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003623/1.282, allocations: 92.38 kB / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.282, allocations: 0 / 1.127 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/1.282, allocations: 46.75 kB / 1.127 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.0004758/1.283, allocations: 42.55 kB / 1.127 GB, free: 27.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/1.284, allocations: 1.333 MB / 1.129 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/1.285, allocations: 0.7193 MB / 1.129 GB, free: 25.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001674/1.285, allocations: 34.31 kB / 1.129 GB, free: 25.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/1.285, allocations: 42.19 kB / 1.129 GB, free: 25.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.285, allocations: 3.938 kB / 1.129 GB, free: 25.33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/1.318, allocations: 4.54 MB / 1.134 GB, free: 24.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.318, allocations: 209.3 kB / 1.134 GB, free: 24.14 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_Scatter.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_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_Scatter_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1