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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.268/4.268, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.16e-05/4.177e-05, allocations: 4.766 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.4553, allocations: 128.3 MB / 0.7601 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.4556, allocations: 75.95 kB / 0.7601 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05601/0.5117, allocations: 12.29 MB / 0.7721 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5117, allocations: 0 / 0.7721 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.938e-05/0.5118, allocations: 8 kB / 0.7721 GB, free: 4.945 MB / 0.6511 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.001052/0.5129, allocations: 0.5213 MB / 0.7726 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.5129, allocations: 8.031 kB / 0.7726 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.513, allocations: 42.56 kB / 0.7727 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.492e-05/0.5131, allocations: 27.7 kB / 0.7727 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.5139, allocations: 258.5 kB / 0.773 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.5139, allocations: 8 kB / 0.773 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.514, allocations: 19.95 kB / 0.773 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.5143, allocations: 113.8 kB / 0.7731 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.5144, allocations: 3.938 kB / 0.7731 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5144, allocations: 0 / 0.7731 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.5144, allocations: 4 kB / 0.7731 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.5147, allocations: 51.98 kB / 0.7732 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.5159, allocations: 0.5358 MB / 0.7737 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5162, allocations: 105.2 kB / 0.7738 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5163, allocations: 37.78 kB / 0.7738 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5164, allocations: 7.984 kB / 0.7738 GB, free: 3.016 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.5166, allocations: 136.9 kB / 0.774 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.334e-06/0.5167, allocations: 4 kB / 0.774 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004106/0.5171, allocations: 125.5 kB / 0.7741 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.5172, allocations: 77.11 kB / 0.7741 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.5174, allocations: 185.8 kB / 0.7743 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5175, allocations: 29.7 kB / 0.7744 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5176, allocations: 124.4 kB / 0.7745 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.5177, allocations: 27.73 kB / 0.7745 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/0.5177, allocations: 11.98 kB / 0.7745 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5178, allocations: 326.8 kB / 0.7748 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.518, allocations: 28.38 kB / 0.7749 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.5183, allocations: 135.5 kB / 0.775 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.5184, allocations: 40.61 kB / 0.775 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5184, allocations: 0 / 0.775 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004162/0.5188, allocations: 161.3 kB / 0.7752 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.5189, allocations: 8 kB / 0.7752 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5189, allocations: 7.938 kB / 0.7752 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5189, allocations: 4 kB / 0.7752 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.5191, allocations: 23.92 kB / 0.7752 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.5191, allocations: 0 / 0.7752 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.5195, allocations: 31.92 kB / 0.7752 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.5196, allocations: 4 kB / 0.7752 GB, free: 1.441 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 () * 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.0001424/0.5197, allocations: 126.8 kB / 0.7754 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.5198, allocations: 23.66 kB / 0.7754 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.837e-05/0.5199, allocations: 21.66 kB / 0.7754 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.5199, allocations: 7.953 kB / 0.7754 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5199, allocations: 0 / 0.7754 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5199, allocations: 3.984 kB / 0.7754 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009367/0.5209, allocations: 458.4 kB / 0.7759 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5209, allocations: 3.953 kB / 0.7759 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.5209, allocations: 4 kB / 0.7759 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.521, allocations: 3.938 kB / 0.7759 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.521, allocations: 11.98 kB / 0.7759 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.521, allocations: 0 / 0.7759 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.521, allocations: 0 / 0.7759 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.5214, allocations: 250 kB / 0.7761 GB, free: 472 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.5215, allocations: 96.91 kB / 0.7762 GB, free: 356 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.5216, allocations: 4 kB / 0.7762 GB, free: 352 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.5218, allocations: 23.92 kB / 0.7762 GB, free: 328 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.5219, allocations: 23.97 kB / 0.7763 GB, free: 304 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.522, allocations: 11.98 kB / 0.7763 GB, free: 292 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001793/0.5221, allocations: 140.3 kB / 0.7764 GB, free: 152 kB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5222, allocations: 0 / 0.7764 GB, free: 152 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005059/0.5227, allocations: 47.92 kB / 0.7765 GB, free: 104 kB / 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 () * 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.54/1.063, allocations: 0.9038 MB / 0.7773 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004225/1.063, allocations: 97.16 kB / 0.7774 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.063, allocations: 0.5 kB / 0.7774 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/1.063, allocations: 52.22 kB / 0.7775 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/1.064, allocations: 45.88 kB / 0.7775 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009928/1.065, allocations: 277.1 kB / 0.7778 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/1.065, allocations: 0.7319 MB / 0.7785 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001306/1.065, allocations: 22.47 kB / 0.7785 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/1.065, allocations: 55.48 kB / 0.7786 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of SimCode: time 8.31e-07/1.065, allocations: 0 / 0.7786 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/1.096, allocations: 4.966 MB / 0.7834 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/1.096, allocations: 228.4 kB / 0.7836 GB, free: 137.6 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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 -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_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