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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001265/0.001265, allocations: 175.2 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 92.52 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.897e-05/3.901e-05, allocations: 0 / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8709/1.14, allocations: 142.1 MB / 1.119 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.141, allocations: 75.31 kB / 1.119 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.016/1.157, allocations: 6.157 MB / 1.125 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/1.157, allocations: 0 / 1.125 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.568e-05/1.157, allocations: 0 / 1.125 GB, free: 39.05 MB / 0.7448 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.0006586/1.157, allocations: 0.5103 MB / 1.125 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.158, allocations: 12.69 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/1.158, allocations: 40.44 kB / 1.125 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/1.158, allocations: 23.89 kB / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004777/1.158, allocations: 256.1 kB / 1.126 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/1.158, allocations: 11 kB / 1.126 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.538e-05/1.158, allocations: 14.75 kB / 1.126 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.158, allocations: 104.7 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.158, allocations: 0.8438 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.158, allocations: 3.562 kB / 1.126 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/1.158, allocations: 4 kB / 1.126 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/1.159, allocations: 54.45 kB / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007484/1.159, allocations: 477.3 kB / 1.126 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.16, allocations: 80.27 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/1.16, allocations: 35.23 kB / 1.126 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/1.16, allocations: 0.75 kB / 1.126 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001321/1.16, allocations: 92.14 kB / 1.126 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.704e-06/1.16, allocations: 0 / 1.126 GB, free: 37.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002584/1.16, allocations: 114.6 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.16, allocations: 55.41 kB / 1.127 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.16, allocations: 174.4 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/1.16, allocations: 33.2 kB / 1.127 GB, free: 37.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/1.16, allocations: 124.8 kB / 1.127 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/1.16, allocations: 28.17 kB / 1.127 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/1.16, allocations: 7.625 kB / 1.127 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/1.16, allocations: 329.2 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/1.161, allocations: 26.89 kB / 1.127 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.161, allocations: 133.2 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.637e-05/1.161, allocations: 30.44 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.161, allocations: 4 kB / 1.127 GB, free: 36.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000206/1.161, allocations: 150.5 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.161, allocations: 4 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.161, allocations: 0.6562 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.161, allocations: 4 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/1.161, allocations: 19.45 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.161, allocations: 4 kB / 1.128 GB, free: 36.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/1.161, allocations: 31.89 kB / 1.128 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/1.161, allocations: 4 kB / 1.128 GB, free: 36.41 MB / 0.7448 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.000118/1.162, allocations: 124 kB / 1.128 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/1.162, allocations: 16.47 kB / 1.128 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/1.162, allocations: 118.1 kB / 1.128 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.162, allocations: 5.312 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.162, allocations: 0 / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/1.162, allocations: 3.281 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/1.162, allocations: 469.1 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.162, allocations: 3.562 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/1.162, allocations: 8.5 kB / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.162, allocations: 0 / 1.128 GB, free: 35.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.162, allocations: 7.688 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.162, allocations: 1.484 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.162, allocations: 4 kB / 1.128 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/1.163, allocations: 211.9 kB / 1.129 GB, free: 35.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/1.163, allocations: 97.17 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/1.163, allocations: 2.312 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/1.163, allocations: 14.44 kB / 1.129 GB, free: 35.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/1.163, allocations: 22.73 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.163, allocations: 11.19 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.565e-05/1.163, allocations: 141.8 kB / 1.129 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/1.163, allocations: 4 kB / 1.129 GB, free: 35.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000285/1.163, allocations: 38.25 kB / 1.129 GB, free: 35.28 MB / 0.7448 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.0007294/1.164, allocations: 0.8174 MB / 1.13 GB, free: 34.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002206/1.164, allocations: 92.09 kB / 1.13 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.164, allocations: 4.125 kB / 1.13 GB, free: 34.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/1.164, allocations: 45.28 kB / 1.13 GB, free: 34.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/1.165, allocations: 34.3 kB / 1.13 GB, free: 34.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/1.165, allocations: 262.4 kB / 1.13 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/1.166, allocations: 0.7281 MB / 1.131 GB, free: 33.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.772e-05/1.166, allocations: 26.67 kB / 1.131 GB, free: 33.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/1.166, allocations: 46.47 kB / 1.131 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.166, allocations: 4 kB / 1.131 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/1.182, allocations: 4.573 MB / 1.135 GB, free: 30.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/1.183, allocations: 198.9 kB / 1.136 GB, free: 30.54 MB / 0.7448 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_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