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.28/2.28, allocations: 248.5 MB / 261.1 MB, free: 6.027 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.001496/0.001495, allocations: 190.4 kB / 320.4 MB, free: 15.34 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.963/1.963, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001146/0.001145, allocations: 92.7 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.301e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.3 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9442/1.143, allocations: 134.3 MB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.143, allocations: 68.22 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0293/1.172, allocations: 6.72 MB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.562e-06/1.172, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.172, allocations: 0 / 1.028 GB, free: 11.25 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007854/1.173, allocations: 0.5042 MB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.173, allocations: 8.031 kB / 1.029 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/1.173, allocations: 41.73 kB / 1.029 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/1.173, allocations: 15.81 kB / 1.029 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006806/1.174, allocations: 251.5 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/1.174, allocations: 11.56 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/1.174, allocations: 11.69 kB / 1.029 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/1.174, allocations: 76.44 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.174, allocations: 4 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/1.175, allocations: 7.203 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/1.175, allocations: 7.984 kB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/1.175, allocations: 40.98 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/1.176, allocations: 445.3 kB / 1.03 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/1.176, allocations: 64.44 kB / 1.03 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/1.176, allocations: 27.42 kB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1.176, allocations: 8.125 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/1.176, allocations: 94.59 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.214e-06/1.176, allocations: 0 / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003077/1.177, allocations: 100 kB / 1.03 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.177, allocations: 51.41 kB / 1.03 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/1.177, allocations: 168.4 kB / 1.03 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/1.177, allocations: 33.58 kB / 1.03 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.177, allocations: 112 kB / 1.03 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/1.177, allocations: 30.2 kB / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/1.177, allocations: 3.5 kB / 1.03 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.177, allocations: 325.4 kB / 1.031 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/1.177, allocations: 33.42 kB / 1.031 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/1.178, allocations: 111.6 kB / 1.031 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.825e-05/1.178, allocations: 43.41 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.178, allocations: 0 / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003292/1.178, allocations: 136.7 kB / 1.031 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.178, allocations: 4 kB / 1.031 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.178, allocations: 128 / 1.031 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.178, allocations: 8 kB / 1.031 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/1.178, allocations: 11.94 kB / 1.031 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.178, allocations: 4 kB / 1.031 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/1.179, allocations: 24 kB / 1.031 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/1.179, allocations: 4 kB / 1.031 GB, free: 8.484 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: 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 () * 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.0001283/1.179, allocations: 124.3 kB / 1.031 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/1.179, allocations: 23.73 kB / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/1.179, allocations: 23.78 kB / 1.031 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.179, allocations: 4 kB / 1.031 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.179, allocations: 0 / 1.031 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.179, allocations: 0 / 1.031 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007702/1.18, allocations: 438.5 kB / 1.032 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.18, allocations: 0 / 1.032 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/1.18, allocations: 4 kB / 1.032 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.18, allocations: 4 kB / 1.032 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.18, allocations: 3.812 kB / 1.032 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.18, allocations: 0 / 1.032 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.18, allocations: 0 / 1.032 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/1.18, allocations: 200 kB / 1.032 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.379e-05/1.18, allocations: 92.91 kB / 1.032 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/1.18, allocations: 7.812 kB / 1.032 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/1.181, allocations: 15.92 kB / 1.032 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/1.181, allocations: 14.92 kB / 1.032 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/1.181, allocations: 8.031 kB / 1.032 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001572/1.181, allocations: 135.7 kB / 1.032 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.181, allocations: 0 / 1.032 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004244/1.181, allocations: 38.81 kB / 1.032 GB, free: 7.375 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: 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 () * 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.0009495/1.182, allocations: 0.8058 MB / 1.033 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000341/1.183, allocations: 77.8 kB / 1.033 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.183, allocations: 4 kB / 1.033 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.183, allocations: 35.06 kB / 1.033 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/1.183, allocations: 47.23 kB / 1.033 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/1.184, allocations: 233.9 kB / 1.033 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/1.185, allocations: 0.7205 MB / 1.034 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000132/1.185, allocations: 21.31 kB / 1.034 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/1.185, allocations: 41.86 kB / 1.034 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of SimCode: time 1.472e-06/1.185, allocations: 0 / 1.034 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/1.217, allocations: 4.488 MB / 1.039 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/1.218, allocations: 211.5 kB / 1.039 GB, free: 0.8789 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/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_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: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_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: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_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