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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01174/0.01174, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001328/0.001328, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.988/1.988, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.418/2.418, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006524, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7339, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004075/0.7381, allocations: 1.509 MB / 0.6849 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.7405, allocations: 0.603 MB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.7408, allocations: 5.188 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.741, allocations: 22.97 kB / 0.6855 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008794/0.7419, allocations: 101 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008597/0.7428, allocations: 140.1 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.7433, allocations: 127.3 kB / 0.6859 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.7435, allocations: 32.12 kB / 0.6859 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.7437, allocations: 86.28 kB / 0.686 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.7465, allocations: 0.805 MB / 0.6868 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.235e-05/0.7466, allocations: 8.594 kB / 0.6868 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.7468, allocations: 23.92 kB / 0.6868 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.7469, allocations: 35.3 kB / 0.6868 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.747, allocations: 45.45 kB / 0.6869 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.7475, allocations: 135.2 kB / 0.687 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7475, allocations: 3.938 kB / 0.687 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7475, allocations: 0.9688 kB / 0.687 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.7475, allocations: 0 / 0.687 GB, free: 14.67 MB / 0.5261 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.001025/0.7486, allocations: 0.4991 MB / 0.6875 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.7486, allocations: 9.531 kB / 0.6875 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.7487, allocations: 48.33 kB / 0.6875 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.7488, allocations: 18.73 kB / 0.6876 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.7493, allocations: 231.7 kB / 0.6878 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.7493, allocations: 10.81 kB / 0.6878 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.7494, allocations: 20.11 kB / 0.6878 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.7498, allocations: 96.98 kB / 0.6879 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.7498, allocations: 4.969 kB / 0.6879 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.7499, allocations: 6.156 kB / 0.6879 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.7499, allocations: 6.141 kB / 0.6879 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.7501, allocations: 53.2 kB / 0.688 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.7517, allocations: 484.5 kB / 0.6884 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.752, allocations: 76.31 kB / 0.6885 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.7521, allocations: 11.7 kB / 0.6885 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.7524, allocations: 104 kB / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.546e-06/0.7524, allocations: 0 / 0.6886 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.000589/0.753, allocations: 141 kB / 0.6888 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.7531, allocations: 58.41 kB / 0.6888 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.7534, allocations: 188.7 kB / 0.689 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.7535, allocations: 33.53 kB / 0.689 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.7537, allocations: 126.3 kB / 0.6891 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.7538, allocations: 31.81 kB / 0.6892 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.7538, allocations: 9.469 kB / 0.6892 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.666e-05/0.7539, allocations: 331.6 kB / 0.6895 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.754, allocations: 28.36 kB / 0.6895 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.7545, allocations: 122 kB / 0.6896 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.7547, allocations: 40.83 kB / 0.6897 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7547, allocations: 1.031 kB / 0.6897 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004903/0.7552, allocations: 145.3 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.7553, allocations: 6.688 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.7553, allocations: 4.969 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.7553, allocations: 3 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.7555, allocations: 14.91 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7556, allocations: 2.938 kB / 0.6898 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.756, allocations: 27.03 kB / 0.6899 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.756, allocations: 10.03 kB / 0.6899 GB, free: 12.35 MB / 0.5261 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.000221/0.7563, allocations: 138.9 kB / 0.69 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.7563, allocations: 24.5 kB / 0.69 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.7568, allocations: 129.8 kB / 0.6902 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.7568, allocations: 1.344 kB / 0.6902 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7568, allocations: 0.5156 kB / 0.6902 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7569, allocations: 1.578 kB / 0.6902 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.7579, allocations: 458.1 kB / 0.6906 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.758, allocations: 0 / 0.6906 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.7581, allocations: 11.86 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.7581, allocations: 0 / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.7581, allocations: 2.734 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7581, allocations: 0.7031 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7582, allocations: 5.109 kB / 0.6906 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.7586, allocations: 215 kB / 0.6908 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.7587, allocations: 103.8 kB / 0.6909 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.7587, allocations: 1.922 kB / 0.6909 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.759, allocations: 16.77 kB / 0.6909 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7591, allocations: 18.34 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.7592, allocations: 6.5 kB / 0.691 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002258/0.7594, allocations: 140.8 kB / 0.6911 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7595, allocations: 0 / 0.6911 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007171/0.7602, allocations: 41.28 kB / 0.6911 GB, free: 11.38 MB / 0.5261 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.00109/0.7613, allocations: 0.836 MB / 0.692 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.7619, allocations: 91.97 kB / 0.692 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7619, allocations: 1.25 kB / 0.692 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.7621, allocations: 43.73 kB / 0.6921 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007458/0.7629, allocations: 44.39 kB / 0.6921 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.765, allocations: 1.327 MB / 0.6934 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.7653, allocations: 0.7257 MB / 0.6941 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.7656, allocations: 25.86 kB / 0.6942 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.7658, allocations: 48.73 kB / 0.6942 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/0.7658, allocations: 0 / 0.6942 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.8058, allocations: 4.588 MB / 0.6987 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.8061, allocations: 225.1 kB / 0.6989 GB, free: 7.223 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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