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.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.0107/0.0107, allocations: 106.8 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.001104/0.001104, allocations: 186.4 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 2.003/2.003, allocations: 194.6 MB / 211.2 MB, free: 11.07 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.195/2.195, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.000647, allocations: 16 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6851, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.9416, allocations: 128.5 MB / 0.8089 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.942, allocations: 79.97 kB / 0.8089 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05427/0.9963, allocations: 12.33 MB / 0.821 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.837e-06/0.9963, allocations: 0 / 0.821 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.9964, allocations: 15.94 kB / 0.821 GB, free: 1.234 MB / 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.001095/0.9975, allocations: 0.5415 MB / 0.8215 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9975, allocations: 12.03 kB / 0.8215 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.9976, allocations: 38.55 kB / 0.8216 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.9977, allocations: 23.81 kB / 0.8216 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007197/0.9984, allocations: 262.5 kB / 0.8218 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.9985, allocations: 15.98 kB / 0.8219 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/0.9986, allocations: 15.95 kB / 0.8219 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.9989, allocations: 108 kB / 0.822 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9989, allocations: 0 / 0.822 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.9989, allocations: 4 kB / 0.822 GB, free: 100 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.9989, allocations: 4 kB / 0.822 GB, free: 96 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.9991, allocations: 61.31 kB / 0.822 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/1, allocations: 0.5396 MB / 0.8226 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/1.001, allocations: 101.1 kB / 0.8227 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.001, allocations: 4.125 kB / 0.8227 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/1.001, allocations: 125 kB / 0.8228 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.424e-06/1.001, allocations: 0 / 0.8228 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004979/1.001, allocations: 161.5 kB / 0.8229 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/1.002, allocations: 85.09 kB / 0.823 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/1.002, allocations: 177.6 kB / 0.8232 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/1.002, allocations: 37.83 kB / 0.8232 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/1.002, allocations: 124.5 kB / 0.8233 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/1.002, allocations: 31.55 kB / 0.8234 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/1.002, allocations: 4 kB / 0.8234 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.002, allocations: 330.8 kB / 0.8237 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/1.002, allocations: 32.36 kB / 0.8237 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/1.003, allocations: 140.5 kB / 0.8239 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/1.003, allocations: 39.33 kB / 0.8239 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.003, allocations: 0 / 0.8239 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004039/1.003, allocations: 169.8 kB / 0.8241 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.003, allocations: 4 kB / 0.8241 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.003, allocations: 4 kB / 0.8241 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.003, allocations: 3.953 kB / 0.8241 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/1.004, allocations: 15.94 kB / 0.8241 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.004, allocations: 11.92 kB / 0.8241 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/1.004, allocations: 35.98 kB / 0.8241 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/1.004, allocations: 8 kB / 0.8241 GB, free: 13.7 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.0001801/1.004, allocations: 135.6 kB / 0.8243 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/1.004, allocations: 15.81 kB / 0.8243 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/1.004, allocations: 21.52 kB / 0.8243 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/1.004, allocations: 7.953 kB / 0.8243 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.004, allocations: 0 / 0.8243 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.004, allocations: 3.938 kB / 0.8243 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/1.005, allocations: 466.3 kB / 0.8248 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.005, allocations: 0 / 0.8248 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/1.005, allocations: 11.89 kB / 0.8248 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.005, allocations: 4 kB / 0.8248 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/1.005, allocations: 4 kB / 0.8248 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.005, allocations: 7.984 kB / 0.8248 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.005, allocations: 4 kB / 0.8248 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003442/1.006, allocations: 233.8 kB / 0.825 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.236e-05/1.006, allocations: 100.8 kB / 0.8251 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/1.006, allocations: 4 kB / 0.8251 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/1.006, allocations: 19.98 kB / 0.8251 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/1.006, allocations: 19.97 kB / 0.8252 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/1.006, allocations: 11.98 kB / 0.8252 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001704/1.006, allocations: 144.2 kB / 0.8253 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.006, allocations: 0 / 0.8253 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004434/1.007, allocations: 47.84 kB / 0.8253 GB, free: 12.36 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.0009844/1.008, allocations: 0.9345 MB / 0.8263 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003307/1.008, allocations: 95.91 kB / 0.8264 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.008, allocations: 0 / 0.8264 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/1.008, allocations: 47.92 kB / 0.8264 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/1.009, allocations: 48.33 kB / 0.8264 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.011, allocations: 1.505 MB / 0.8279 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.011, allocations: 0.73 MB / 0.8286 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001307/1.011, allocations: 25.53 kB / 0.8287 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/1.011, allocations: 51.42 kB / 0.8287 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.011, allocations: 0 / 0.8287 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/1.04, allocations: 4.917 MB / 0.8335 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003934/1.04, allocations: 244.4 kB / 0.8337 GB, free: 3.727 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_PlotterActivationLocalInput.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1