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.PlotterActivationAlwaysOn.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01084/0.01084, allocations: 107.1 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001225/0.001225, allocations: 181.4 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.215/2.215, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.209/2.209, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006337/0.0006338, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.6572, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.8904, allocations: 127.4 MB / 0.8078 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.8908, allocations: 71.97 kB / 0.8079 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02969/0.9205, allocations: 6.724 MB / 0.8144 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9205, allocations: 0 / 0.8144 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.9206, allocations: 4 kB / 0.8144 GB, free: 8.074 MB / 0.6355 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.0009009/0.9215, allocations: 0.5099 MB / 0.8149 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9215, allocations: 12.03 kB / 0.815 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.9216, allocations: 42.55 kB / 0.815 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.9217, allocations: 15.81 kB / 0.815 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006858/0.9224, allocations: 254.6 kB / 0.8153 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.9224, allocations: 11.98 kB / 0.8153 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.9225, allocations: 12 kB / 0.8153 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.9227, allocations: 77.11 kB / 0.8154 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.9228, allocations: 4 kB / 0.8154 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.9228, allocations: 11.94 kB / 0.8154 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.9228, allocations: 7.938 kB / 0.8154 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.923, allocations: 43.92 kB / 0.8154 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.9241, allocations: 444.5 kB / 0.8158 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.9243, allocations: 62.75 kB / 0.8159 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.9243, allocations: 15.91 kB / 0.8159 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.9245, allocations: 83.31 kB / 0.816 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.695e-06/0.9246, allocations: 0 / 0.816 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0004035/0.925, allocations: 129.8 kB / 0.8161 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.925, allocations: 55.41 kB / 0.8162 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.9253, allocations: 170.2 kB / 0.8163 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.9253, allocations: 37.64 kB / 0.8164 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.9255, allocations: 112 kB / 0.8165 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.9255, allocations: 27.78 kB / 0.8165 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.9255, allocations: 4 kB / 0.8165 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.9257, allocations: 330.8 kB / 0.8168 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.9258, allocations: 28 kB / 0.8169 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.9261, allocations: 111.7 kB / 0.817 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.9262, allocations: 43.2 kB / 0.817 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.9263, allocations: 3.953 kB / 0.817 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003589/0.9266, allocations: 129.4 kB / 0.8171 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9267, allocations: 4 kB / 0.8171 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.9267, allocations: 0 / 0.8171 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.9267, allocations: 4 kB / 0.8171 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.9268, allocations: 19.92 kB / 0.8172 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9269, allocations: 4 kB / 0.8172 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.9272, allocations: 24.02 kB / 0.8172 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.9272, allocations: 8 kB / 0.8172 GB, free: 5.008 MB / 0.6355 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.0001744/0.9274, allocations: 130.5 kB / 0.8173 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.9274, allocations: 15.86 kB / 0.8173 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.493e-05/0.9275, allocations: 21.39 kB / 0.8173 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.9275, allocations: 4 kB / 0.8174 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.9275, allocations: 0 / 0.8174 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9276, allocations: 0 / 0.8174 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/0.9283, allocations: 442.2 kB / 0.8178 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.9284, allocations: 0 / 0.8178 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.9284, allocations: 8.031 kB / 0.8178 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.9284, allocations: 3.984 kB / 0.8178 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.9284, allocations: 4 kB / 0.8178 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9285, allocations: 0 / 0.8178 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9285, allocations: 4 kB / 0.8178 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.9288, allocations: 211.2 kB / 0.818 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.9288, allocations: 92.91 kB / 0.8181 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.9289, allocations: 4 kB / 0.8181 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.929, allocations: 11.98 kB / 0.8181 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.9291, allocations: 11.98 kB / 0.8181 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.9292, allocations: 12 kB / 0.8181 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001571/0.9294, allocations: 136 kB / 0.8182 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9294, allocations: 0 / 0.8182 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004901/0.9299, allocations: 40 kB / 0.8183 GB, free: 3.773 MB / 0.6355 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.001049/0.9309, allocations: 0.8112 MB / 0.8191 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.9314, allocations: 95.89 kB / 0.8192 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.9314, allocations: 0 / 0.8192 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.9315, allocations: 28 kB / 0.8192 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.932, allocations: 42.55 kB / 0.8192 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.9337, allocations: 1.143 MB / 0.8204 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.9342, allocations: 0.7244 MB / 0.8211 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.9343, allocations: 17.55 kB / 0.8211 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.9345, allocations: 47.41 kB / 0.8211 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.9345, allocations: 0 / 0.8211 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.967, allocations: 4.459 MB / 0.8255 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00036/0.9674, allocations: 241.5 kB / 0.8257 GB, free: 12.18 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_PlotterActivationAlwaysOn.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.c:7: In file included from ./Buildings_6_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_PlotterActivationAlwaysOn_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:2: In file included from ./Buildings_6_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_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_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_PlotterActivationAlwaysOn_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_functions.o] Error 1