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.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.307/4.307, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.113e-05, allocations: 3.438 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 98.72 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2413/0.5093, allocations: 128.3 MB / 0.76 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5096, allocations: 75.95 kB / 0.7601 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03483/0.5444, allocations: 7.832 MB / 0.7677 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5445, allocations: 0 / 0.7677 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.381e-05/0.5445, allocations: 4 kB / 0.7677 GB, free: 9.449 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.00103/0.5456, allocations: 0.5251 MB / 0.7683 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.5456, allocations: 8.031 kB / 0.7683 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.5457, allocations: 42.55 kB / 0.7683 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.5458, allocations: 19.81 kB / 0.7683 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.5466, allocations: 262.7 kB / 0.7686 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.5466, allocations: 12 kB / 0.7686 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.5467, allocations: 8 kB / 0.7686 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.547, allocations: 99.61 kB / 0.7687 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.547, allocations: 0 / 0.7687 GB, free: 8.367 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.5471, allocations: 8 kB / 0.7687 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.5471, allocations: 0 / 0.7687 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.5473, allocations: 51.92 kB / 0.7687 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5485, allocations: 468.4 kB / 0.7692 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.5492, allocations: 162.8 kB / 0.7693 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.5493, allocations: 36.84 kB / 0.7694 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.5494, allocations: 0 / 0.7694 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.5497, allocations: 107.3 kB / 0.7695 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.294e-06/0.5497, allocations: 0 / 0.7695 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000423/0.5501, allocations: 129.4 kB / 0.7696 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.5502, allocations: 59.41 kB / 0.7697 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.5505, allocations: 181.8 kB / 0.7698 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.5505, allocations: 33.64 kB / 0.7699 GB, free: 7.043 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.5507, allocations: 120.5 kB / 0.77 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.5507, allocations: 31.59 kB / 0.77 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.319e-05/0.5508, allocations: 4 kB / 0.77 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5509, allocations: 330.8 kB / 0.7703 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.551, allocations: 28.38 kB / 0.7704 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.5514, allocations: 124.4 kB / 0.7705 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5515, allocations: 38.42 kB / 0.7705 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5515, allocations: 4.219 kB / 0.7705 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003809/0.5519, allocations: 149.3 kB / 0.7707 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.5519, allocations: 7.938 kB / 0.7707 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.552, allocations: 0 / 0.7707 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.552, allocations: 4.047 kB / 0.7707 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5521, allocations: 23.92 kB / 0.7707 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5522, allocations: 3.984 kB / 0.7707 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.5526, allocations: 35.95 kB / 0.7707 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.5526, allocations: 8 kB / 0.7707 GB, free: 6.105 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.0001438/0.5527, allocations: 122.7 kB / 0.7709 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.5528, allocations: 19.77 kB / 0.7709 GB, free: 5.961 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.328e-05/0.5529, allocations: 21.64 kB / 0.7709 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.5529, allocations: 0 / 0.7709 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5529, allocations: 0 / 0.7709 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5529, allocations: 0 / 0.7709 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.554, allocations: 0.4904 MB / 0.7714 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5541, allocations: 0 / 0.7714 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.5541, allocations: 15.98 kB / 0.7714 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5541, allocations: 0 / 0.7714 GB, free: 5.383 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5542, allocations: 4 kB / 0.7714 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.5542, allocations: 0 / 0.7714 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5542, allocations: 3.938 kB / 0.7714 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.5546, allocations: 231.2 kB / 0.7716 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.5547, allocations: 92.92 kB / 0.7717 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.5547, allocations: 8 kB / 0.7717 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.555, allocations: 27.97 kB / 0.7717 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.5551, allocations: 15.97 kB / 0.7718 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.5551, allocations: 8 kB / 0.7718 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001835/0.5553, allocations: 140.2 kB / 0.7719 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5553, allocations: 0 / 0.7719 GB, free: 4.828 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004785/0.5558, allocations: 48 kB / 0.7719 GB, free: 4.781 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.001077/0.5569, allocations: 0.8441 MB / 0.7728 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.5573, allocations: 91.94 kB / 0.7729 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5573, allocations: 3.938 kB / 0.7729 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.5575, allocations: 51.92 kB / 0.7729 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.558, allocations: 54.56 kB / 0.773 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5591, allocations: 279.9 kB / 0.7732 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.5595, allocations: 0.7324 MB / 0.7739 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000128/0.5596, allocations: 21.55 kB / 0.774 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.5598, allocations: 55.41 kB / 0.774 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.5598, allocations: 0 / 0.774 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5521/1.112, allocations: 5.007 MB / 0.7789 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.112, allocations: 218.5 kB / 0.7791 GB, free: 138.2 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_PlotterActivationGlobalInput.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1