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.PlotterActivationLocalInputFirstOff.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.205/4.205, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.933e-05, allocations: 3.453 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2471, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/0.4905, allocations: 128.4 MB / 0.7601 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4909, allocations: 83.95 kB / 0.7602 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05775/0.5487, allocations: 13.22 MB / 0.7731 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5487, allocations: 0 / 0.7731 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.5488, allocations: 4 kB / 0.7731 GB, free: 3.953 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009928/0.5498, allocations: 0.5214 MB / 0.7736 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.5498, allocations: 12.03 kB / 0.7736 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.5499, allocations: 42.55 kB / 0.7737 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.55, allocations: 23.72 kB / 0.7737 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.5508, allocations: 262.5 kB / 0.774 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.5508, allocations: 8 kB / 0.774 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/0.5509, allocations: 19.95 kB / 0.774 GB, free: 2.961 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.5512, allocations: 107.4 kB / 0.7741 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5512, allocations: 4 kB / 0.7741 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.5512, allocations: 4 kB / 0.7741 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.5512, allocations: 0 / 0.7741 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002009/0.5515, allocations: 55.92 kB / 0.7741 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5527, allocations: 0.5435 MB / 0.7747 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.553, allocations: 105 kB / 0.7748 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.5531, allocations: 45.77 kB / 0.7748 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.5532, allocations: 0 / 0.7748 GB, free: 2.012 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.5535, allocations: 121.2 kB / 0.7749 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.5535, allocations: 0 / 0.7749 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004031/0.5539, allocations: 129.5 kB / 0.7751 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.554, allocations: 85.09 kB / 0.7751 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.5542, allocations: 173.9 kB / 0.7753 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.5543, allocations: 33.7 kB / 0.7753 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5544, allocations: 124.4 kB / 0.7755 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.5545, allocations: 39.53 kB / 0.7755 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5545, allocations: 4 kB / 0.7755 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5547, allocations: 326.8 kB / 0.7758 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5548, allocations: 32.41 kB / 0.7758 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.5551, allocations: 132.6 kB / 0.776 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5553, allocations: 40.05 kB / 0.776 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5553, allocations: 0 / 0.776 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004061/0.5557, allocations: 157.3 kB / 0.7762 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5557, allocations: 8 kB / 0.7762 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.5557, allocations: 3.953 kB / 0.7762 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.5558, allocations: 8.156 kB / 0.7762 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.5559, allocations: 19.94 kB / 0.7762 GB, free: 0.4922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.556, allocations: 4 kB / 0.7762 GB, free: 500 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.5563, allocations: 23.97 kB / 0.7762 GB, free: 476 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.5564, allocations: 8 kB / 0.7762 GB, free: 468 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulsStart,booPul.pulsStart,plotConfiguration.activate_internal) * Number of discrete 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.0001453/0.5565, allocations: 132.8 kB / 0.7764 GB, free: 332 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.5566, allocations: 23.72 kB / 0.7764 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.292e-05/0.5567, allocations: 29.64 kB / 0.7764 GB, free: 284 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5567, allocations: 3.953 kB / 0.7764 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5567, allocations: 0 / 0.7764 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5567, allocations: 0 / 0.7764 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5735/1.13, allocations: 459.8 kB / 0.7768 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/1.13, allocations: 3.031 kB / 0.7768 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/1.13, allocations: 6.812 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/1.13, allocations: 1.312 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/1.13, allocations: 6.234 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/1.13, allocations: 8.062 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.13, allocations: 0.625 kB / 0.7769 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/1.131, allocations: 232.3 kB / 0.7771 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-05/1.131, allocations: 99.61 kB / 0.7772 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/1.131, allocations: 9.562 kB / 0.7772 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/1.131, allocations: 25.41 kB / 0.7772 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.131, allocations: 18 kB / 0.7772 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/1.131, allocations: 10.17 kB / 0.7772 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002268/1.132, allocations: 140 kB / 0.7774 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.5e-07/1.132, allocations: 0 / 0.7774 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004956/1.132, allocations: 45.25 kB / 0.7774 GB, free: 139.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulsStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.001031/1.133, allocations: 0.9129 MB / 0.7783 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003892/1.134, allocations: 90.59 kB / 0.7784 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.134, allocations: 2.078 kB / 0.7784 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.134, allocations: 49.38 kB / 0.7784 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/1.134, allocations: 55 kB / 0.7785 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/1.135, allocations: 272.3 kB / 0.7788 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/1.136, allocations: 0.7291 MB / 0.7795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001484/1.136, allocations: 21.58 kB / 0.7795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/1.136, allocations: 56.78 kB / 0.7795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.136, allocations: 0 / 0.7795 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/1.169, allocations: 4.97 MB / 0.7844 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/1.17, allocations: 225 kB / 0.7846 GB, free: 137.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_PlotterActivationLocalInputFirstOff.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_PlotterActivationLocalInputFirstOff_functions.o Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c In file included from Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_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_PlotterActivationLocalInputFirstOff_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_functions.o] Error 1