Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.199/2.199, allocations: 251 MB / 265.9 MB, free: 11.69 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.001579/0.001579, allocations: 172.3 kB / 325.5 MB, free: 2.879 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.531/2.531, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001106/0.001106, allocations: 89.05 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 11.75 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 106.3 MB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.508, allocations: 134.4 MB / 1.03 GB, free: 11.39 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.5084, allocations: 79.94 kB / 1.03 GB, free: 11.31 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02951/0.5379, allocations: 6.735 MB / 1.037 GB, free: 4.551 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.104e-06/0.538, allocations: 4 kB / 1.037 GB, free: 4.547 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.538, allocations: 4 kB / 1.037 GB, free: 4.543 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009798/0.539, allocations: 0.5177 MB / 1.037 GB, free: 3.965 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.539, allocations: 8.031 kB / 1.037 GB, free: 3.957 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.5391, allocations: 42.55 kB / 1.037 GB, free: 3.906 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.767e-05/0.5392, allocations: 15.81 kB / 1.037 GB, free: 3.891 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007118/0.5399, allocations: 254.7 kB / 1.037 GB, free: 3.602 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.54, allocations: 8 kB / 1.037 GB, free: 3.594 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.54, allocations: 12 kB / 1.038 GB, free: 3.582 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.5403, allocations: 77.66 kB / 1.038 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.5403, allocations: 0 / 1.038 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.5403, allocations: 11.95 kB / 1.038 GB, free: 3.488 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.5403, allocations: 4 kB / 1.038 GB, free: 3.484 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.5405, allocations: 43.97 kB / 1.038 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.5416, allocations: 448.4 kB / 1.038 GB, free: 2.953 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.5419, allocations: 74.48 kB / 1.038 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.5419, allocations: 4 kB / 1.038 GB, free: 2.867 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.5421, allocations: 83.5 kB / 1.038 GB, free: 2.773 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=12): time 2.255e-06/0.5421, allocations: 0 / 1.038 GB, free: 2.773 MB / 0.6824 GB Notification: Performance of matching and sorting (n=12): time 0.000423/0.5426, allocations: 129.5 kB / 1.038 GB, free: 2.641 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5426, allocations: 63.33 kB / 1.038 GB, free: 2.566 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.5429, allocations: 167.1 kB / 1.039 GB, free: 2.395 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.5429, allocations: 33.7 kB / 1.039 GB, free: 2.355 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.543, allocations: 112 kB / 1.039 GB, free: 2.242 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.5431, allocations: 27.78 kB / 1.039 GB, free: 2.215 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.5431, allocations: 4 kB / 1.039 GB, free: 2.211 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5433, allocations: 326.8 kB / 1.039 GB, free: 1.883 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.306e-05/0.5434, allocations: 27.98 kB / 1.039 GB, free: 1.855 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.5437, allocations: 116.9 kB / 1.039 GB, free: 1.715 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.5439, allocations: 34.5 kB / 1.039 GB, free: 1.684 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5439, allocations: 3.953 kB / 1.039 GB, free: 1.68 MB / 0.6824 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003332/0.5442, allocations: 137.4 kB / 1.039 GB, free: 1.539 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5443, allocations: 4 kB / 1.039 GB, free: 1.535 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5443, allocations: 0 / 1.039 GB, free: 1.535 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5443, allocations: 4 kB / 1.039 GB, free: 1.531 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5444, allocations: 15.94 kB / 1.039 GB, free: 1.516 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.5445, allocations: 4 kB / 1.039 GB, free: 1.512 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.5448, allocations: 19.92 kB / 1.039 GB, free: 1.492 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.5448, allocations: 8 kB / 1.039 GB, free: 1.484 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$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,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001684/0.545, allocations: 137.7 kB / 1.04 GB, free: 1.34 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.545, allocations: 19.77 kB / 1.04 GB, free: 1.32 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.5451, allocations: 13.41 kB / 1.04 GB, free: 1.309 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5451, allocations: 4 kB / 1.04 GB, free: 1.305 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5451, allocations: 0 / 1.04 GB, free: 1.305 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5451, allocations: 3.984 kB / 1.04 GB, free: 1.301 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.5459, allocations: 438.2 kB / 1.04 GB, free: 0.8164 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.546, allocations: 0 / 1.04 GB, free: 0.8164 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.546, allocations: 7.938 kB / 1.04 GB, free: 0.8086 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.546, allocations: 0 / 1.04 GB, free: 0.8086 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.546, allocations: 7.984 kB / 1.04 GB, free: 0.8008 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.5461, allocations: 0 / 1.04 GB, free: 0.8008 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5461, allocations: 0 / 1.04 GB, free: 0.8008 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.5464, allocations: 215.2 kB / 1.04 GB, free: 0.5742 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5465, allocations: 92.86 kB / 1.04 GB, free: 476 kB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.5465, allocations: 7.984 kB / 1.04 GB, free: 468 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.5467, allocations: 8 kB / 1.04 GB, free: 460 kB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.5468, allocations: 15.97 kB / 1.04 GB, free: 444 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.5468, allocations: 4 kB / 1.04 GB, free: 440 kB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.0001686/0.547, allocations: 140.3 kB / 1.04 GB, free: 300 kB / 0.6824 GB Notification: Performance of sort global known variables: time 3.6e-07/0.547, allocations: 3.938 kB / 1.04 GB, free: 296 kB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0004348/0.5475, allocations: 36 kB / 1.041 GB, free: 260 kB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009469/0.5484, allocations: 0.8048 MB / 1.041 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.5488, allocations: 79.91 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5488, allocations: 0 / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.5489, allocations: 35.92 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.5494, allocations: 49.42 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.5509, allocations: 1.146 MB / 1.043 GB, free: 14.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.5513, allocations: 0.7204 MB / 1.043 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.5515, allocations: 21.48 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5516, allocations: 47.42 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/0.5516, allocations: 0 / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.5868, allocations: 4.448 MB / 1.048 GB, free: 9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003778/0.5873, allocations: 244 kB / 1.048 GB, free: 8.754 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_PlotterActivationAlwaysOn.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o] Error 1