Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 248.5 MB / 261 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001481, allocations: 187.1 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 113.4 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.461e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 106.2 MB / 0.8907 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8792/1.085, allocations: 135.4 MB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.086, allocations: 90.81 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03996/1.126, allocations: 8.469 MB / 1.031 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.126, allocations: 0 / 1.031 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.332e-05/1.126, allocations: 4 kB / 1.031 GB, free: 8.711 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.0009853/1.127, allocations: 0.5275 MB / 1.032 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.127, allocations: 12.02 kB / 1.032 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/1.127, allocations: 38.5 kB / 1.032 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.647e-05/1.127, allocations: 19.81 kB / 1.032 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/1.128, allocations: 254.5 kB / 1.032 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/1.128, allocations: 14.98 kB / 1.032 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.844e-05/1.128, allocations: 15.75 kB / 1.032 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/1.128, allocations: 86.75 kB / 1.032 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.128, allocations: 4 kB / 1.032 GB, free: 7.691 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/1.128, allocations: 7.375 kB / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.128, allocations: 0 / 1.032 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/1.129, allocations: 50.61 kB / 1.032 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/1.13, allocations: 473.7 kB / 1.033 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/1.13, allocations: 156.3 kB / 1.033 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/1.131, allocations: 37.73 kB / 1.033 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.131, allocations: 0 / 1.033 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002592/1.131, allocations: 107.7 kB / 1.033 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/1.131, allocations: 0 / 1.033 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004181/1.131, allocations: 133.3 kB / 1.033 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/1.131, allocations: 51.41 kB / 1.033 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/1.132, allocations: 179 kB / 1.033 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.869e-05/1.132, allocations: 33.2 kB / 1.033 GB, free: 6.555 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/1.132, allocations: 124.8 kB / 1.034 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/1.132, allocations: 38.48 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/1.132, allocations: 3.5 kB / 1.034 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.132, allocations: 329.5 kB / 1.034 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/1.132, allocations: 34.5 kB / 1.034 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/1.133, allocations: 115.5 kB / 1.034 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/1.133, allocations: 41.89 kB / 1.034 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.133, allocations: 0 / 1.034 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003823/1.133, allocations: 154.7 kB / 1.034 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.133, allocations: 4 kB / 1.034 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.133, allocations: 4.125 kB / 1.034 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/1.133, allocations: 4.047 kB / 1.034 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/1.133, allocations: 23.91 kB / 1.034 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.133, allocations: 0 / 1.034 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/1.134, allocations: 31.2 kB / 1.034 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.134, allocations: 11.98 kB / 1.034 GB, free: 5.715 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.pulseStart,booPul.pulseStart) * 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.0001421/1.134, allocations: 125.2 kB / 1.034 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/1.134, allocations: 23.77 kB / 1.034 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.277e-05/1.134, allocations: 20.59 kB / 1.034 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.134, allocations: 224 / 1.034 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/1.134, allocations: 0 / 1.034 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.134, allocations: 7.922 kB / 1.034 GB, free: 5.555 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/1.135, allocations: 0.4965 MB / 1.035 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/1.135, allocations: 0 / 1.035 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/1.135, allocations: 4 kB / 1.035 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.135, allocations: 0 / 1.035 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.135, allocations: 7.25 kB / 1.035 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/1.135, allocations: 0 / 1.035 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.135, allocations: 0 / 1.035 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/1.136, allocations: 236.7 kB / 1.035 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/1.136, allocations: 92.91 kB / 1.035 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/1.136, allocations: 7.062 kB / 1.035 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/1.136, allocations: 18.55 kB / 1.035 GB, free: 4.691 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/1.136, allocations: 18.72 kB / 1.035 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/1.136, allocations: 7.984 kB / 1.035 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001766/1.136, allocations: 142.6 kB / 1.035 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.137, allocations: 0 / 1.035 GB, free: 4.547 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004584/1.137, allocations: 50.73 kB / 1.035 GB, free: 4.504 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.pulseStart) * 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.00108/1.138, allocations: 0.8278 MB / 1.036 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003547/1.138, allocations: 105.5 kB / 1.036 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.138, allocations: 256 / 1.036 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/1.139, allocations: 54.11 kB / 1.036 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/1.139, allocations: 43.73 kB / 1.036 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/1.14, allocations: 263.6 kB / 1.037 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/1.14, allocations: 0.7285 MB / 1.037 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001443/1.141, allocations: 25.47 kB / 1.037 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.141, allocations: 50.67 kB / 1.038 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/1.141, allocations: 0 / 1.038 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/1.169, allocations: 5.009 MB / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/1.17, allocations: 219.7 kB / 1.043 GB, free: 13.41 MB / 0.6667 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.c:7: In file included from ./Buildings_7_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:2: In file included from ./Buildings_7_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_functions.o] Error 1