Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.643/3.643, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.356/3.356, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009164/0.0009164, allocations: 21.5 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4898, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003794/0.4937, allocations: 1.526 MB / 0.7887 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.4956, allocations: 0.6086 MB / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.4957, allocations: 0 / 0.7893 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.496, allocations: 23.84 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005983/0.4966, allocations: 107.6 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.4973, allocations: 143.7 kB / 0.7896 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.4977, allocations: 123.8 kB / 0.7897 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.4979, allocations: 29.48 kB / 0.7897 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002215/0.4982, allocations: 91.66 kB / 0.7898 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.5004, allocations: 0.8077 MB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.5005, allocations: 8 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.5007, allocations: 16 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5008, allocations: 31.89 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.5009, allocations: 53.62 kB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.5014, allocations: 143.9 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.5014, allocations: 0 / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.168e-06/0.5014, allocations: 3.938 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.5014, allocations: 4 kB / 0.7908 GB, free: 8.164 MB / 0.6075 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.001371/0.5028, allocations: 0.4944 MB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.405e-05/0.5029, allocations: 8.031 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.503, allocations: 38.56 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.5032, allocations: 27.75 kB / 0.7914 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.5037, allocations: 234.7 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.5038, allocations: 16.17 kB / 0.7916 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.5038, allocations: 12 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.5042, allocations: 99.14 kB / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5042, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5042, allocations: 0 / 0.7917 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5043, allocations: 8 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.5045, allocations: 52.53 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.506, allocations: 488.3 kB / 0.7923 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.5062, allocations: 86.42 kB / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.5063, allocations: 224 / 0.7923 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.5066, allocations: 99.3 kB / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.5066, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005054/0.5071, allocations: 138.6 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.5073, allocations: 63.39 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.5077, allocations: 196 kB / 0.7928 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.5078, allocations: 33.7 kB / 0.7928 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.508, allocations: 116.5 kB / 0.793 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.565e-05/0.5081, allocations: 31.55 kB / 0.793 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.5081, allocations: 8 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000365/0.5085, allocations: 326.8 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.5086, allocations: 27.98 kB / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.5091, allocations: 130.5 kB / 0.7935 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.5093, allocations: 37.44 kB / 0.7935 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5093, allocations: 11.92 kB / 0.7935 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004399/0.5098, allocations: 145.4 kB / 0.7936 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.5099, allocations: 8 kB / 0.7936 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.5099, allocations: 0 / 0.7936 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.255e-05/0.5099, allocations: 4 kB / 0.7937 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.5101, allocations: 15.98 kB / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.5102, allocations: 3.938 kB / 0.7937 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.5105, allocations: 35.98 kB / 0.7937 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.5106, allocations: 7.984 kB / 0.7937 GB, free: 4.945 MB / 0.6075 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.0002704/0.5109, allocations: 134.5 kB / 0.7938 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.5109, allocations: 15.81 kB / 0.7939 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004378/0.5114, allocations: 136.4 kB / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5114, allocations: 0 / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.5114, allocations: 0 / 0.794 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.5114, allocations: 4 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5125, allocations: 466.2 kB / 0.7944 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5125, allocations: 0 / 0.7944 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.5126, allocations: 4 kB / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.5126, allocations: 0 / 0.7944 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.5126, allocations: 4 kB / 0.7944 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5127, allocations: 11.92 kB / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5127, allocations: 0 / 0.7945 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.5131, allocations: 227 kB / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.5133, allocations: 96.91 kB / 0.7948 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.5133, allocations: 4 kB / 0.7948 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.5136, allocations: 11.98 kB / 0.7948 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.5137, allocations: 15.98 kB / 0.7948 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.5138, allocations: 11.98 kB / 0.7948 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003093/0.5141, allocations: 140.2 kB / 0.7949 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5141, allocations: 0 / 0.7949 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006134/0.5148, allocations: 39.98 kB / 0.795 GB, free: 3.543 MB / 0.6075 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.001775/0.5166, allocations: 0.8162 MB / 0.7958 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.517, allocations: 99.45 kB / 0.7959 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/0.517, allocations: 0 / 0.7959 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.5172, allocations: 43.92 kB / 0.7959 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005314/0.5177, allocations: 39.09 kB / 0.7959 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.52, allocations: 1.334 MB / 0.7973 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008195/0.5209, allocations: 0.7283 MB / 0.798 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.521, allocations: 21.53 kB / 0.798 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5212, allocations: 55.41 kB / 0.798 GB, free: 328 kB / 0.6075 GB Notification: Performance of SimCode: time 1.733e-06/0.5212, allocations: 0 / 0.798 GB, free: 328 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.5572, allocations: 4.571 MB / 0.8025 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004216/0.5577, allocations: 218.9 kB / 0.8027 GB, free: 11.64 MB / 0.6231 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.o Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Examples_Scatter_functions.o] Error 1