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.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.33/4.33, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.303e-05, allocations: 5.016 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 98.74 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2439/0.4743, allocations: 128.4 MB / 0.7601 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/0.4747, allocations: 83.95 kB / 0.7602 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03791/0.5126, allocations: 8.428 MB / 0.7684 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5127, allocations: 0 / 0.7684 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.5127, allocations: 4 kB / 0.7684 GB, free: 8.836 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001007/0.5137, allocations: 0.5289 MB / 0.7689 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.5138, allocations: 8.031 kB / 0.7689 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.5139, allocations: 42.56 kB / 0.769 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.231e-05/0.514, allocations: 23.75 kB / 0.769 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.5148, allocations: 250.7 kB / 0.7692 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.5148, allocations: 12 kB / 0.7692 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.5149, allocations: 16 kB / 0.7692 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.5152, allocations: 107.1 kB / 0.7694 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5152, allocations: 0 / 0.7694 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.5152, allocations: 0 / 0.7694 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5152, allocations: 0 / 0.7694 GB, free: 7.742 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.5154, allocations: 51.98 kB / 0.7694 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.5166, allocations: 468.4 kB / 0.7698 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.5174, allocations: 150.9 kB / 0.77 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5175, allocations: 36.8 kB / 0.77 GB, free: 6.988 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.5175, allocations: 8 kB / 0.77 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.5178, allocations: 103.3 kB / 0.7701 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.315e-06/0.5178, allocations: 0 / 0.7701 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004377/0.5183, allocations: 129.4 kB / 0.7703 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5183, allocations: 59.39 kB / 0.7703 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.5186, allocations: 173.8 kB / 0.7705 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.5187, allocations: 33.7 kB / 0.7705 GB, free: 6.441 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5188, allocations: 124.5 kB / 0.7706 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.914e-05/0.5189, allocations: 39.55 kB / 0.7707 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5189, allocations: 3.938 kB / 0.7707 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5191, allocations: 330.8 kB / 0.771 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.5192, allocations: 36.31 kB / 0.771 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.5195, allocations: 122.5 kB / 0.7711 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.5196, allocations: 34.48 kB / 0.7712 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5197, allocations: 3.938 kB / 0.7712 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003891/0.5201, allocations: 153.3 kB / 0.7713 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5201, allocations: 8 kB / 0.7713 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.5201, allocations: 7.984 kB / 0.7713 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5201, allocations: 0 / 0.7713 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.5203, allocations: 15.94 kB / 0.7714 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5203, allocations: 4 kB / 0.7714 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.5207, allocations: 27.89 kB / 0.7714 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.5207, allocations: 11.98 kB / 0.7714 GB, free: 5.496 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$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,booPul.y,$PRE.booPul.pulsStart,booPul.pulsStart) * 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.0001364/0.5209, allocations: 126.6 kB / 0.7715 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.5209, allocations: 19.77 kB / 0.7715 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/0.521, allocations: 21.66 kB / 0.7716 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.521, allocations: 4 kB / 0.7716 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5211, allocations: 3.984 kB / 0.7716 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5211, allocations: 0 / 0.7716 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.5221, allocations: 0.4906 MB / 0.772 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5222, allocations: 0 / 0.772 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.5222, allocations: 0 / 0.772 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.5222, allocations: 4 kB / 0.772 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.5223, allocations: 3.984 kB / 0.772 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5223, allocations: 0 / 0.772 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5223, allocations: 4 kB / 0.7721 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.5227, allocations: 239.2 kB / 0.7723 GB, free: 4.512 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.5228, allocations: 92.91 kB / 0.7724 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.5228, allocations: 4 kB / 0.7724 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.5231, allocations: 19.98 kB / 0.7724 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5232, allocations: 23.97 kB / 0.7724 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.646e-05/0.5233, allocations: 11.98 kB / 0.7724 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001927/0.5235, allocations: 140.3 kB / 0.7726 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5235, allocations: 0 / 0.7726 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004942/0.524, allocations: 51.92 kB / 0.7726 GB, free: 4.156 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001096/0.5251, allocations: 0.836 MB / 0.7734 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.5256, allocations: 103.9 kB / 0.7735 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5256, allocations: 0 / 0.7735 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.5258, allocations: 59.81 kB / 0.7736 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.5263, allocations: 48.12 kB / 0.7736 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009987/0.5273, allocations: 252 kB / 0.7739 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.5277, allocations: 0.7249 MB / 0.7746 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.5279, allocations: 25.53 kB / 0.7746 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.528, allocations: 51.41 kB / 0.7746 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/0.5281, allocations: 4 kB / 0.7747 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5555/1.084, allocations: 5.002 MB / 0.7795 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/1.084, allocations: 223.7 kB / 0.7797 GB, free: 137.4 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_PlotterActivationGlobalInputFirstOff.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_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_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1