Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.105/2.105, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001616, allocations: 186.8 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001152/0.001152, allocations: 96.22 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 12.12 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2256, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2387/0.4644, allocations: 135.5 MB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.4647, allocations: 87.95 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05586/0.5206, allocations: 12.37 MB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5207, allocations: 0 / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.5207, allocations: 11.94 kB / 1.043 GB, free: 13.3 MB / 0.698 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.001155/0.5219, allocations: 0.5415 MB / 1.044 GB, free: 12.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5219, allocations: 8.031 kB / 1.044 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.522, allocations: 46.55 kB / 1.044 GB, free: 12.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.5221, allocations: 19.81 kB / 1.044 GB, free: 12.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.523, allocations: 262.5 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.523, allocations: 8 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.5231, allocations: 15.95 kB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.5234, allocations: 113.2 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5234, allocations: 0 / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.5235, allocations: 4 kB / 1.044 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.5235, allocations: 4 kB / 1.044 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.5237, allocations: 55.91 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.5251, allocations: 0.5512 MB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.5253, allocations: 93.12 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5254, allocations: 8.25 kB / 1.045 GB, free: 11.39 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002849/0.5257, allocations: 126.9 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 4.609e-06/0.5257, allocations: 3.984 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005474/0.5262, allocations: 163.9 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.5263, allocations: 85.23 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.5266, allocations: 181.4 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.5267, allocations: 33.7 kB / 1.046 GB, free: 10.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5268, allocations: 116.5 kB / 1.046 GB, free: 10.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.5269, allocations: 47.47 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.5269, allocations: 0 / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5271, allocations: 326.8 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.5272, allocations: 32.36 kB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.5277, allocations: 139.8 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.5278, allocations: 39.98 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5278, allocations: 4 kB / 1.046 GB, free: 10.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004118/0.5282, allocations: 153.3 kB / 1.046 GB, free: 9.855 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.5283, allocations: 8 kB / 1.046 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5283, allocations: 0 / 1.046 GB, free: 9.848 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.5283, allocations: 7.953 kB / 1.046 GB, free: 9.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5285, allocations: 23.98 kB / 1.046 GB, free: 9.816 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.5285, allocations: 7.938 kB / 1.046 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.5289, allocations: 28.05 kB / 1.046 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.529, allocations: 8 kB / 1.046 GB, free: 9.773 MB / 0.698 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.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked 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.0002088/0.5292, allocations: 139.6 kB / 1.047 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.5292, allocations: 15.81 kB / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/0.5293, allocations: 17.53 kB / 1.047 GB, free: 9.598 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.5293, allocations: 7.938 kB / 1.047 GB, free: 9.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.5293, allocations: 4 kB / 1.047 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5294, allocations: 4 kB / 1.047 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.5304, allocations: 469 kB / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.5304, allocations: 0 / 1.047 GB, free: 9.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.5305, allocations: 15.88 kB / 1.047 GB, free: 9.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5305, allocations: 4 kB / 1.047 GB, free: 9.051 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.5305, allocations: 4 kB / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5306, allocations: 0 / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5306, allocations: 0 / 1.047 GB, free: 9.047 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.531, allocations: 237.9 kB / 1.047 GB, free: 8.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.5311, allocations: 92.92 kB / 1.047 GB, free: 8.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.5311, allocations: 8 kB / 1.047 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.5314, allocations: 35.78 kB / 1.047 GB, free: 8.637 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.5315, allocations: 15.97 kB / 1.047 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/0.5316, allocations: 8 kB / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001965/0.5318, allocations: 135.2 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.32e-07/0.5318, allocations: 0 / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005175/0.5323, allocations: 47.94 kB / 1.048 GB, free: 8.434 MB / 0.698 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.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked 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.001161/0.5335, allocations: 0.916 MB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003967/0.5339, allocations: 95.91 kB / 1.049 GB, free: 7.406 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5339, allocations: 4 kB / 1.049 GB, free: 7.402 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.5341, allocations: 56.22 kB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.5347, allocations: 45 kB / 1.049 GB, free: 7.305 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.5366, allocations: 1.511 MB / 1.05 GB, free: 5.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.5372, allocations: 0.7261 MB / 1.051 GB, free: 4.961 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002535/0.5375, allocations: 25.53 kB / 1.051 GB, free: 4.938 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.5377, allocations: 55.41 kB / 1.051 GB, free: 4.883 MB / 0.698 GB Notification: Performance of SimCode: time 1.303e-06/0.5377, allocations: 4 kB / 1.051 GB, free: 4.879 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.5726, allocations: 4.919 MB / 1.056 GB, free: 160 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5844/1.157, allocations: 239.4 kB / 1.056 GB, free: 154.7 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_PlotterActivationLocalInput.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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_PlotterActivationLocalInput_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_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_PlotterActivationLocalInput_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_functions.o] Error 1