Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.01082/0.01082, allocations: 108.3 kB / 15.05 MB, free: 5.934 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.001183/0.001183, allocations: 181.5 kB / 15.94 MB, free: 5.898 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.993/1.993, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.209/2.209, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000539/0.000539, allocations: 15.98 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.727/0.7275, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.9597, allocations: 128.5 MB / 0.8089 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.9601, allocations: 83.94 kB / 0.809 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0592/1.019, allocations: 13.26 MB / 0.822 GB, free: 276 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.485e-06/1.019, allocations: 0 / 0.822 GB, free: 276 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.352e-05/1.019, allocations: 4 kB / 0.822 GB, free: 272 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001223/1.021, allocations: 0.557 MB / 0.8225 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.021, allocations: 8.031 kB / 0.8225 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/1.021, allocations: 42.55 kB / 0.8225 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/1.021, allocations: 27.81 kB / 0.8226 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/1.022, allocations: 258.6 kB / 0.8228 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.022, allocations: 11.94 kB / 0.8228 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/1.022, allocations: 19.95 kB / 0.8229 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/1.022, allocations: 104 kB / 0.823 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.022, allocations: 4 kB / 0.823 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/1.022, allocations: 7.938 kB / 0.823 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.022, allocations: 0 / 0.823 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/1.022, allocations: 67.81 kB / 0.823 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/1.024, allocations: 0.5474 MB / 0.8236 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/1.024, allocations: 89.14 kB / 0.8236 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/1.024, allocations: 0 / 0.8236 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/1.024, allocations: 131.2 kB / 0.8238 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/1.024, allocations: 4 kB / 0.8238 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005186/1.025, allocations: 153.6 kB / 0.8239 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.025, allocations: 77.11 kB / 0.824 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/1.025, allocations: 181.6 kB / 0.8242 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/1.025, allocations: 33.7 kB / 0.8242 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/1.026, allocations: 124.6 kB / 0.8243 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/1.026, allocations: 39.53 kB / 0.8244 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/1.026, allocations: 4 kB / 0.8244 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.026, allocations: 326.8 kB / 0.8247 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.026, allocations: 28.36 kB / 0.8247 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/1.026, allocations: 138.1 kB / 0.8248 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/1.026, allocations: 51.34 kB / 0.8249 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.026, allocations: 0 / 0.8249 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004501/1.027, allocations: 161.2 kB / 0.825 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.027, allocations: 8 kB / 0.825 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.027, allocations: 0 / 0.825 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.027, allocations: 7.953 kB / 0.825 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.027, allocations: 15.98 kB / 0.8251 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.027, allocations: 3.938 kB / 0.8251 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/1.028, allocations: 28.14 kB / 0.8251 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/1.028, allocations: 8 kB / 0.8251 GB, free: 12.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulsStart,booPul.pulsStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0002199/1.028, allocations: 139.5 kB / 0.8252 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/1.028, allocations: 23.75 kB / 0.8253 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/1.028, allocations: 21.52 kB / 0.8253 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.028, allocations: 3.953 kB / 0.8253 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.028, allocations: 0 / 0.8253 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.028, allocations: 4 kB / 0.8253 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/1.029, allocations: 470.9 kB / 0.8257 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.029, allocations: 0 / 0.8257 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.141e-05/1.029, allocations: 15.88 kB / 0.8258 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/1.029, allocations: 0 / 0.8258 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/1.029, allocations: 8 kB / 0.8258 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/1.029, allocations: 3.984 kB / 0.8258 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.029, allocations: 4 kB / 0.8258 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/1.03, allocations: 241.8 kB / 0.826 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.083e-05/1.03, allocations: 92.86 kB / 0.8261 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/1.03, allocations: 11.98 kB / 0.8261 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/1.03, allocations: 19.98 kB / 0.8261 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/1.03, allocations: 27.91 kB / 0.8261 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/1.03, allocations: 4 kB / 0.8261 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001946/1.03, allocations: 144.2 kB / 0.8263 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.03, allocations: 0 / 0.8263 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004836/1.031, allocations: 47.91 kB / 0.8263 GB, free: 11.37 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001089/1.032, allocations: 0.9254 MB / 0.8272 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003937/1.032, allocations: 99.89 kB / 0.8273 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.032, allocations: 0 / 0.8273 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/1.033, allocations: 55.86 kB / 0.8274 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/1.033, allocations: 47.84 kB / 0.8274 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/1.035, allocations: 1.492 MB / 0.8289 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/1.035, allocations: 0.73 MB / 0.8296 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001593/1.035, allocations: 21.53 kB / 0.8296 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/1.036, allocations: 51.42 kB / 0.8297 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.036, allocations: 0 / 0.8297 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/1.069, allocations: 4.923 MB / 0.8345 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/1.069, allocations: 257.8 kB / 0.8347 GB, free: 2.742 MB / 0.6511 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_Validation_PlotterActivationLocalInputFirstOff.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_Validation_PlotterActivationLocalInputFirstOff_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_Validation_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1