Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.974/1.974, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.00131/0.00131, allocations: 178.9 kB / 371.6 MB, free: 3.391 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.016/2.016, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009891/0.0009893, allocations: 96.2 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.262e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3057, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9109/1.217, allocations: 141.7 MB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/1.217, allocations: 77.19 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01589/1.233, allocations: 6.704 MB / 1.125 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/1.233, allocations: 0 / 1.125 GB, free: 38.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.233, allocations: 8 kB / 1.125 GB, free: 38.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004848/1.233, allocations: 0.4947 MB / 1.125 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/1.234, allocations: 8.031 kB / 1.125 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/1.234, allocations: 41.69 kB / 1.125 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/1.234, allocations: 15.81 kB / 1.125 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/1.234, allocations: 261.7 kB / 1.126 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/1.234, allocations: 8 kB / 1.126 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/1.234, allocations: 15.81 kB / 1.126 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/1.234, allocations: 71.75 kB / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/1.234, allocations: 0 / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.234, allocations: 8.75 kB / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/1.234, allocations: 3.562 kB / 1.126 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/1.234, allocations: 50.17 kB / 1.126 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006512/1.235, allocations: 436.7 kB / 1.126 GB, free: 37.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/1.235, allocations: 77.48 kB / 1.126 GB, free: 37.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/1.235, allocations: 28.36 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/1.235, allocations: 3.984 kB / 1.126 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/1.235, allocations: 86.19 kB / 1.126 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.235, allocations: 4 kB / 1.126 GB, free: 37.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.000195/1.236, allocations: 100.3 kB / 1.127 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/1.236, allocations: 55.59 kB / 1.127 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/1.236, allocations: 175.8 kB / 1.127 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.236, allocations: 34.61 kB / 1.127 GB, free: 37.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/1.236, allocations: 114.7 kB / 1.127 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/1.236, allocations: 26.78 kB / 1.127 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-06/1.236, allocations: 3.875 kB / 1.127 GB, free: 37.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/1.236, allocations: 326.1 kB / 1.127 GB, free: 36.76 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/1.236, allocations: 23.69 kB / 1.127 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/1.236, allocations: 118.9 kB / 1.127 GB, free: 36.63 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.456e-05/1.236, allocations: 35.38 kB / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.236, allocations: 0 / 1.127 GB, free: 36.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001643/1.236, allocations: 133.1 kB / 1.128 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.236, allocations: 8.562 kB / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.237, allocations: 0 / 1.128 GB, free: 36.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.237, allocations: 4 kB / 1.128 GB, free: 36.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/1.237, allocations: 15.31 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.237, allocations: 4 kB / 1.128 GB, free: 36.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/1.237, allocations: 19.47 kB / 1.128 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/1.237, allocations: 12.69 kB / 1.128 GB, free: 36.45 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.579e-05/1.237, allocations: 115.3 kB / 1.128 GB, free: 36.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/1.237, allocations: 19.77 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/1.237, allocations: 20.55 kB / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.237, allocations: 0 / 1.128 GB, free: 36.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.237, allocations: 4 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.237, allocations: 0.9375 kB / 1.128 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/1.237, allocations: 438.5 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.237, allocations: 0 / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/1.237, allocations: 4 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.237, allocations: 1.438 kB / 1.128 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.237, allocations: 7.875 kB / 1.128 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/1.237, allocations: 3.516 kB / 1.128 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.237, allocations: 1.172 kB / 1.128 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/1.238, allocations: 205.3 kB / 1.128 GB, free: 35.71 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/1.238, allocations: 92.39 kB / 1.128 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.238, allocations: 4.531 kB / 1.129 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/1.238, allocations: 11.47 kB / 1.129 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/1.238, allocations: 19.31 kB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.238, allocations: 7.516 kB / 1.129 GB, free: 35.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.682e-05/1.238, allocations: 136.1 kB / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.238, allocations: 0 / 1.129 GB, free: 35.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000249/1.238, allocations: 46.98 kB / 1.129 GB, free: 35.43 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0005546/1.239, allocations: 0.798 MB / 1.129 GB, free: 34.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001713/1.239, allocations: 82.92 kB / 1.13 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.239, allocations: 0 / 1.13 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-05/1.239, allocations: 41.22 kB / 1.13 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/1.239, allocations: 49.42 kB / 1.13 GB, free: 34.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/1.24, allocations: 237.6 kB / 1.13 GB, free: 34.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/1.24, allocations: 0.7178 MB / 1.131 GB, free: 33.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.14e-05/1.24, allocations: 23.14 kB / 1.131 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.562e-05/1.24, allocations: 45.59 kB / 1.131 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/1.24, allocations: 0 / 1.131 GB, free: 33.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.257, allocations: 4.476 MB / 1.135 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.257, allocations: 207.2 kB / 1.135 GB, free: 30.82 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_Validation_PlotterActivationAlwaysOn.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_Validation_PlotterActivationAlwaysOn_functions.o] Error 1