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.119/2.119, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 174.4 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.458/2.458, allocations: 205.4 MB / 0.5764 GB, free: 21.15 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.001149/0.001149, allocations: 103 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006378, allocations: 16.03 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2189, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2622/0.4812, allocations: 135.5 MB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.4816, allocations: 83.89 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03857/0.5202, allocations: 8.507 MB / 1.04 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5202, allocations: 0 / 1.04 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.118e-05/0.5203, allocations: 4 kB / 1.04 GB, free: 1.645 MB / 0.6823 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.001127/0.5214, allocations: 0.557 MB / 1.04 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5215, allocations: 8.031 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.849e-05/0.5215, allocations: 42.55 kB / 1.04 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.5216, allocations: 19.81 kB / 1.04 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.5224, allocations: 254.5 kB / 1.04 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.5224, allocations: 7.984 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.5225, allocations: 16 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.5228, allocations: 97.55 kB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5228, allocations: 0 / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.5228, allocations: 8 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.5229, allocations: 0 / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.5231, allocations: 51.91 kB / 1.041 GB, free: 488 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.5243, allocations: 468.4 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.525, allocations: 158.9 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.525, allocations: 0 / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.5253, allocations: 111.2 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.264e-06/0.5253, allocations: 0 / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005434/0.5259, allocations: 163.4 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.526, allocations: 63.38 kB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.5263, allocations: 181.3 kB / 1.042 GB, free: 15.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.5264, allocations: 37.69 kB / 1.042 GB, free: 15.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5265, allocations: 116.5 kB / 1.042 GB, free: 15.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.5266, allocations: 43.55 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.5266, allocations: 4 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.5268, allocations: 326.8 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.5269, allocations: 32.36 kB / 1.042 GB, free: 14.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.5273, allocations: 124.4 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5274, allocations: 41.62 kB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.944e-06/0.5274, allocations: 0 / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003894/0.5278, allocations: 158.8 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5279, allocations: 4 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5279, allocations: 4.125 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5279, allocations: 4 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.528, allocations: 23.92 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5281, allocations: 4 kB / 1.043 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.5285, allocations: 27.92 kB / 1.043 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5285, allocations: 4 kB / 1.043 GB, free: 14.27 MB / 0.698 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 () * 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.0001958/0.5287, allocations: 139.5 kB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.5288, allocations: 23.77 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.354e-05/0.5288, allocations: 21.91 kB / 1.043 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5288, allocations: 4 kB / 1.043 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5289, allocations: 224 / 1.043 GB, free: 14.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5289, allocations: 3.984 kB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.53, allocations: 0.4942 MB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.53, allocations: 0 / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.53, allocations: 8 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.53, allocations: 0 / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5301, allocations: 11.98 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/0.5301, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5301, allocations: 0 / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.5305, allocations: 241.8 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.5306, allocations: 96.91 kB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.5306, allocations: 0 / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.5308, allocations: 19.98 kB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.531, allocations: 19.95 kB / 1.044 GB, free: 13.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.531, allocations: 12 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001771/0.5312, allocations: 143.2 kB / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5312, allocations: 0 / 1.044 GB, free: 12.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004774/0.5317, allocations: 48 kB / 1.044 GB, free: 12.9 MB / 0.698 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 () * Number of clocked 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.001028/0.5327, allocations: 0.8273 MB / 1.045 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.5331, allocations: 101.7 kB / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5332, allocations: 256 / 1.045 GB, free: 11.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.5333, allocations: 59.91 kB / 1.045 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.5339, allocations: 44.67 kB / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.5354, allocations: 1.173 MB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.5358, allocations: 0.7323 MB / 1.047 GB, free: 9.867 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000148/0.536, allocations: 17.55 kB / 1.047 GB, free: 9.848 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.5361, allocations: 55.41 kB / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.5362, allocations: 0 / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.5702, allocations: 4.966 MB / 1.052 GB, free: 5.031 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/0.5706, allocations: 250.2 kB / 1.052 GB, free: 4.695 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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_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