Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0146/0.0146, allocations: 89.39 kB / 15.04 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001853/0.001854, allocations: 171.3 kB / 15.92 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.145/2.145, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.497/2.497, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006987/0.000699, allocations: 11.72 kB / 0.6243 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2857, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00358/0.2893, allocations: 1.417 MB / 0.7294 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.292, allocations: 0.5658 MB / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.2922, allocations: 4 kB / 0.73 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.2924, allocations: 27.84 kB / 0.73 GB, free: 8.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.293, allocations: 99.67 kB / 0.7301 GB, free: 8.023 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007385/0.2938, allocations: 127.8 kB / 0.7302 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.2943, allocations: 123.8 kB / 0.7304 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2945, allocations: 29.47 kB / 0.7304 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2947, allocations: 87.73 kB / 0.7305 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004091/0.2988, allocations: 1.018 MB / 0.7315 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.299, allocations: 8 kB / 0.7315 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.2992, allocations: 16 kB / 0.7315 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2993, allocations: 27.89 kB / 0.7315 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2995, allocations: 53.62 kB / 0.7316 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.2999, allocations: 132 kB / 0.7317 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2999, allocations: 0 / 0.7317 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2999, allocations: 4 kB / 0.7317 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.243e-05/0.2999, allocations: 0 / 0.7317 GB, free: 6.402 MB / 0.5573 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.001214/0.3012, allocations: 498.1 kB / 0.7322 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/0.3013, allocations: 8.031 kB / 0.7322 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/0.3014, allocations: 38.56 kB / 0.7322 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.3015, allocations: 27.75 kB / 0.7322 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.3021, allocations: 231.8 kB / 0.7325 GB, free: 5.508 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/0.3022, allocations: 8 kB / 0.7325 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/0.3023, allocations: 16 kB / 0.7325 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.3027, allocations: 80.75 kB / 0.7326 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3027, allocations: 0 / 0.7326 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3027, allocations: 4 kB / 0.7326 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3028, allocations: 0 / 0.7326 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.303, allocations: 47.92 kB / 0.7326 GB, free: 5.352 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.3048, allocations: 452.4 kB / 0.733 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.3052, allocations: 78.5 kB / 0.7331 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.3052, allocations: 0 / 0.7331 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.3056, allocations: 95.42 kB / 0.7332 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=12): time 3.667e-06/0.3056, allocations: 0 / 0.7332 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12): time 0.000588/0.3065, allocations: 121.5 kB / 0.7333 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.3065, allocations: 55.41 kB / 0.7334 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.3069, allocations: 191.7 kB / 0.7336 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.3071, allocations: 33.7 kB / 0.7336 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.3072, allocations: 116.1 kB / 0.7337 GB, free: 4.121 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.3073, allocations: 23.72 kB / 0.7337 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.3074, allocations: 0 / 0.7337 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3076, allocations: 330.8 kB / 0.734 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3077, allocations: 31.89 kB / 0.7341 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000504/0.3082, allocations: 119.6 kB / 0.7342 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.3084, allocations: 28 kB / 0.7342 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3084, allocations: 0 / 0.7342 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005679/0.309, allocations: 153.3 kB / 0.7344 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.3091, allocations: 4 kB / 0.7344 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3091, allocations: 3.938 kB / 0.7344 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.3092, allocations: 4 kB / 0.7344 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3093, allocations: 15.92 kB / 0.7344 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3094, allocations: 4 kB / 0.7344 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.3099, allocations: 19.92 kB / 0.7344 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3099, allocations: 8 kB / 0.7344 GB, free: 3.348 MB / 0.5573 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.0002466/0.3102, allocations: 130 kB / 0.7345 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.3103, allocations: 19.77 kB / 0.7346 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.3104, allocations: 21.39 kB / 0.7346 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3104, allocations: 0 / 0.7346 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.3104, allocations: 3.938 kB / 0.7346 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3104, allocations: 0 / 0.7346 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.3116, allocations: 450.2 kB / 0.735 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.3117, allocations: 3.938 kB / 0.735 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.3117, allocations: 0 / 0.735 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/0.3118, allocations: 4 kB / 0.735 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3118, allocations: 4 kB / 0.735 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.3118, allocations: 0 / 0.735 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3118, allocations: 0 / 0.735 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.3123, allocations: 207.8 kB / 0.7352 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3124, allocations: 96.91 kB / 0.7353 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.3125, allocations: 0 / 0.7353 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.3127, allocations: 11.98 kB / 0.7353 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.3129, allocations: 15.98 kB / 0.7353 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.3129, allocations: 15.86 kB / 0.7354 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002434/0.3132, allocations: 128.1 kB / 0.7355 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.12e-07/0.3132, allocations: 0 / 0.7355 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007186/0.314, allocations: 47.98 kB / 0.7355 GB, free: 2.109 MB / 0.5573 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.001311/0.3153, allocations: 0.8007 MB / 0.7363 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004368/0.3158, allocations: 87.78 kB / 0.7364 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3158, allocations: 0 / 0.7364 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.316, allocations: 31.98 kB / 0.7364 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007128/0.3167, allocations: 48.77 kB / 0.7365 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.319, allocations: 1.139 MB / 0.7376 GB, free: 15.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.3195, allocations: 0.7166 MB / 0.7383 GB, free: 15.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.3197, allocations: 21.53 kB / 0.7383 GB, free: 15.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3199, allocations: 51.67 kB / 0.7383 GB, free: 15.13 MB / 0.573 GB Notification: Performance of SimCode: time 1.373e-06/0.3199, allocations: 0 / 0.7383 GB, free: 15.13 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.3512, allocations: 4.507 MB / 0.7427 GB, free: 10.75 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/0.3515, allocations: 248.1 kB / 0.743 GB, free: 10.43 MB / 0.573 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 7.0.0/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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 7.0.0/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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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_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