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 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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.022/4.022, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.744e-05, allocations: 3.516 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.281/0.5142, allocations: 127.3 MB / 0.759 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/0.5147, allocations: 67.97 kB / 0.7591 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03848/0.5532, allocations: 6.696 MB / 0.7656 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5532, allocations: 3.938 kB / 0.7656 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.5533, allocations: 0 / 0.7656 GB, free: 11.66 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.0007916/0.5541, allocations: 0.5052 MB / 0.7661 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.5541, allocations: 8.031 kB / 0.7661 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.5542, allocations: 42.55 kB / 0.7662 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.707e-05/0.5543, allocations: 15.81 kB / 0.7662 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006867/0.555, allocations: 250.7 kB / 0.7664 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.555, allocations: 12 kB / 0.7664 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.5551, allocations: 12 kB / 0.7664 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.5553, allocations: 77.67 kB / 0.7665 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5553, allocations: 3.984 kB / 0.7665 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.5554, allocations: 7.891 kB / 0.7665 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.5554, allocations: 8 kB / 0.7665 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.5555, allocations: 39.98 kB / 0.7666 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5566, allocations: 452.4 kB / 0.767 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.5568, allocations: 62.58 kB / 0.7671 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.5569, allocations: 24.86 kB / 0.7671 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.557, allocations: 4 kB / 0.7671 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.5572, allocations: 91.5 kB / 0.7672 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.5572, allocations: 0 / 0.7672 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003054/0.5575, allocations: 97.5 kB / 0.7673 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5576, allocations: 59.33 kB / 0.7673 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.5578, allocations: 166.3 kB / 0.7675 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.5579, allocations: 29.7 kB / 0.7675 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.558, allocations: 120 kB / 0.7676 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.558, allocations: 27.8 kB / 0.7677 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.558, allocations: 0 / 0.7677 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5582, allocations: 334.8 kB / 0.768 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.5583, allocations: 31.84 kB / 0.768 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.5586, allocations: 113.7 kB / 0.7681 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.714e-05/0.5587, allocations: 31.94 kB / 0.7681 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5587, allocations: 0 / 0.7681 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003158/0.559, allocations: 141.4 kB / 0.7683 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5591, allocations: 4 kB / 0.7683 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5591, allocations: 0 / 0.7683 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5591, allocations: 4 kB / 0.7683 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.5592, allocations: 20.06 kB / 0.7683 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.5593, allocations: 3.984 kB / 0.7683 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.5596, allocations: 20 kB / 0.7683 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.5596, allocations: 4 kB / 0.7683 GB, free: 8.621 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.0001251/0.5597, allocations: 128.7 kB / 0.7685 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.5598, allocations: 15.81 kB / 0.7685 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.5598, allocations: 9.531 kB / 0.7685 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5599, allocations: 8 kB / 0.7685 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5599, allocations: 0 / 0.7685 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5599, allocations: 3.984 kB / 0.7685 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007591/0.5607, allocations: 442.2 kB / 0.7689 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5607, allocations: 0 / 0.7689 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.53e-05/0.5607, allocations: 7.938 kB / 0.7689 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5608, allocations: 4 kB / 0.7689 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5608, allocations: 0 / 0.7689 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5608, allocations: 0 / 0.7689 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5608, allocations: 0 / 0.7689 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.5611, allocations: 207.2 kB / 0.7691 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.5612, allocations: 92.92 kB / 0.7692 GB, free: 7.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.5612, allocations: 4 kB / 0.7692 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.5614, allocations: 16.03 kB / 0.7692 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.5614, allocations: 15.97 kB / 0.7692 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.5615, allocations: 7.984 kB / 0.7692 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001559/0.5617, allocations: 129.2 kB / 0.7694 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.184e-06/0.5617, allocations: 0 / 0.7694 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004029/0.5621, allocations: 47.92 kB / 0.7694 GB, free: 7.41 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.0009294/0.563, allocations: 0.8138 MB / 0.7702 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.5633, allocations: 75.88 kB / 0.7703 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5633, allocations: 4 kB / 0.7703 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.5635, allocations: 35.94 kB / 0.7703 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.5639, allocations: 40.14 kB / 0.7704 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.5648, allocations: 232 kB / 0.7706 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5651, allocations: 0.7244 MB / 0.7713 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.942e-05/0.5653, allocations: 17.31 kB / 0.7713 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.5654, allocations: 47.42 kB / 0.7714 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/0.5654, allocations: 0 / 0.7714 GB, free: 5.363 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.5969, allocations: 4.504 MB / 0.7758 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003197/0.5973, allocations: 216 kB / 0.776 GB, free: 0.7305 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_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: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_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: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_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