Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Examples.Scatter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.272/4.272, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.448e-05, allocations: 2.656 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2161, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.4979, allocations: 127.6 MB / 0.7593 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4982, allocations: 75.95 kB / 0.7594 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02867/0.5269, allocations: 6.15 MB / 0.7654 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/0.527, allocations: 0 / 0.7654 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.527, allocations: 0 / 0.7654 GB, free: 11.87 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.0009508/0.528, allocations: 0.5143 MB / 0.7659 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.528, allocations: 12.03 kB / 0.7659 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.73e-05/0.5281, allocations: 42.55 kB / 0.766 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.5282, allocations: 19.81 kB / 0.766 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.529, allocations: 246.7 kB / 0.7662 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.5291, allocations: 12.19 kB / 0.7662 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.5291, allocations: 15.98 kB / 0.7663 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.5294, allocations: 93.05 kB / 0.7663 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5295, allocations: 7.938 kB / 0.7664 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.5295, allocations: 15.94 kB / 0.7664 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.5295, allocations: 4 kB / 0.7664 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.5297, allocations: 52.48 kB / 0.7664 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.531, allocations: 477.6 kB / 0.7669 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.5313, allocations: 70.52 kB / 0.7669 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.5314, allocations: 32.84 kB / 0.767 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-05/0.5315, allocations: 0 / 0.767 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.5317, allocations: 95.3 kB / 0.7671 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.5317, allocations: 0 / 0.7671 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0004048/0.5321, allocations: 117.4 kB / 0.7672 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.5322, allocations: 63.33 kB / 0.7672 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.5325, allocations: 169.5 kB / 0.7674 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.5326, allocations: 29.7 kB / 0.7674 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5327, allocations: 124.4 kB / 0.7675 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.178e-05/0.5328, allocations: 39.55 kB / 0.7676 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.5328, allocations: 4 kB / 0.7676 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.533, allocations: 330.8 kB / 0.7679 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.5331, allocations: 24 kB / 0.7679 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.5334, allocations: 125.9 kB / 0.768 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.5336, allocations: 39.92 kB / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5336, allocations: 0 / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005445/0.5342, allocations: 145.5 kB / 0.7682 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5342, allocations: 4 kB / 0.7682 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5342, allocations: 0 / 0.7682 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.5343, allocations: 4 kB / 0.7682 GB, free: 8.719 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.5345, allocations: 23.92 kB / 0.7683 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.5345, allocations: 4 kB / 0.7683 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004361/0.535, allocations: 20.16 kB / 0.7683 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.535, allocations: 8 kB / 0.7683 GB, free: 8.664 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.000179/0.5352, allocations: 124.8 kB / 0.7684 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.5353, allocations: 15.81 kB / 0.7684 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.5358, allocations: 139.3 kB / 0.7686 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.5358, allocations: 4 kB / 0.7686 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5359, allocations: 0 / 0.7686 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5359, allocations: 0 / 0.7686 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.5371, allocations: 458.3 kB / 0.769 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5371, allocations: 0 / 0.769 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.083e-05/0.5372, allocations: 8 kB / 0.769 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.5373, allocations: 0 / 0.769 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.5373, allocations: 4 kB / 0.769 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.5373, allocations: 3.953 kB / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5373, allocations: 0 / 0.769 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.5378, allocations: 223.3 kB / 0.7692 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.5379, allocations: 88.92 kB / 0.7693 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.538, allocations: 3.984 kB / 0.7693 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5382, allocations: 12 kB / 0.7693 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.5384, allocations: 23.95 kB / 0.7693 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.5384, allocations: 12 kB / 0.7694 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002506/0.5387, allocations: 136.3 kB / 0.7695 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5387, allocations: 0 / 0.7695 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007854/0.5395, allocations: 55.84 kB / 0.7695 GB, free: 7.281 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.001321/0.5408, allocations: 0.8224 MB / 0.7703 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.5413, allocations: 79.94 kB / 0.7704 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5414, allocations: 0 / 0.7704 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5415, allocations: 43.92 kB / 0.7705 GB, free: 6.328 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.5422, allocations: 48.22 kB / 0.7705 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5436, allocations: 267.4 kB / 0.7708 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.5441, allocations: 0.7244 MB / 0.7715 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.5443, allocations: 29.52 kB / 0.7715 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.5445, allocations: 47.42 kB / 0.7715 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/0.5445, allocations: 0 / 0.7715 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08629/0.6308, allocations: 4.58 MB / 0.776 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/0.6312, allocations: 199 kB / 0.7762 GB, free: 444 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_6_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.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_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1